C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} Error 1 100 Error 1 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi followed by garbage value hi h Error Garbage Value hi followed by garbage value hi h Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } et te ow ck et te ow ck ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} None of These 64 4 16 None of These 64 4 16 ANSWER DOWNLOAD EXAMIANS APP