C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 Compiler Error 6 Garbage Value 5 Compiler Error 6 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } None of these 3 hello Linking error Compiler Error None of these 3 hello Linking error Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); void funct(x) { printf(“Hello"); } None of these void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } None of these void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 5 6 None of these 4 7 5 6 None of these 4 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Need not contain any function. Must contain at least one function. Needs input data. None of these Need not contain any function. Must contain at least one function. Needs input data. ANSWER DOWNLOAD EXAMIANS APP