What is the type of data that "c" is pointing to?123456789#include <stdio.h>int main() { int a = 10; double b = 3.14; void *c; c = &a; return 0;}Marks : 1Negative Marks : 0Answer hereintvoiddoubleUnknown type
Question
What is the type of data that "c" is pointing to?123456789#include <stdio.h>int main() { int a = 10; double b = 3.14; void *c; c = &a; return 0;}Marks : 1Negative Marks : 0Answer hereintvoiddoubleUnknown type
Solution
The type of data that "c" is pointing to is "int". This is because "c" is a void pointer and it is currently pointing to the address of "a", which is an integer.
Similar Questions
What is the type of data that "c" is pointing to?123456789#include <stdio.h>int main() { int a = 10; double b = 3.14; void *c; c = &a; return 0;}Marks : 1Negative Marks : 0Answer hereintvoiddoubleUnknown type
Explain different datatypes in C
Which data type is used for precise decimal calculations in C?
nswerWhich of these is long data type literal?Options0x99fffL0x99fffaABCDEFG99671246
answerThe long data type in C is often used for:OptionsSmall integersSingle-precision floating-point valuesLarge integersDouble-precision floating-point values
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.