C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 1 0 Garbage Value 3 2 1 0 Garbage Value 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 1 1 1 garbage values Error 0 0 0 1 1 1 garbage values ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. will print garbage value Compilation Error will print Hello World None of these. will print garbage value Compilation Error will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} C NOITANIMAXE No output at all. Syntax error NOITANIMAXE C C NOITANIMAXE No output at all. Syntax error NOITANIMAXE C ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... ASCII value of the input read. 0 The number of successful read input values. The actual values read for each argument. 1 ASCII value of the input read. 0 The number of successful read input values. The actual values read for each argument. 1 ANSWER DOWNLOAD EXAMIANS APP