Login
C Programming
2)
What is the output of the program?
typedef struct data;
{
int x;
sdata *b;
}sdata;
A)
Error: Declaration missing ';'
B)
Error: in typedef
C)
No error
D)
None of above
Previous
Next
Show Answer:
Show Answer
More Question
What will be the output of the program #includestdio.hint main() int i=4, j=8; printf(d, d, d\n, ij&ji, ij&ji, i^j); return 0;
Which of the following statements are correct about an array 1: The array int num[26]; can store 26 elements.2: The expression num[1] designates the very first element in the array.3: It is necessary to initialize the array at the time of declaration.4: The declaration num[SIZE] is allowed if SIZE is a macro.
Point out the error in the following program. #includestdio.hint main() struct emp char name[20]; float sal; ; struct emp e[10]; int i; for(i=0; i=9; i++) scanf(s f, e[i].name, &e[i].sal); return 0;
Point out the error in the following program. #includestdio.h#includestdarg.hvoid varfun(int n, ...);int main() varfun(3, 7, -11.2, 0.66); return 0;void varfun(int n, ...) float ptr; int num; va_start(ptr, n); num = va_arg(ptr, int); printf(d, num);
What is the notation for following functions 1. int f(int a, float b) / Some code /