C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 2 4 5 2 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 0, 2 2, 4 2, 2 4, 4 2, 0 0, 2 2, 4 2, 2 4, 4 2, 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error None of These Ok here Forget it Error None of These Ok here Forget it ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 3 4 3 3 2 3 2 4 2 2 3 4 3 3 2 3 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 III and IV I, II and III II and III I and II I, III and IV III and IV I, II and III II and III I and II I, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main register case auto default main register case auto default ANSWER DOWNLOAD EXAMIANS APP