C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. The loop will run infinitely many times. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Syntax error 8 6 Runtime error No output Syntax error 8 6 Runtime error No output ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a formal parameter Initialization is a part of definition It is a declaratrion All of these It is a formal parameter Initialization is a part of definition It is a declaratrion 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 4 4 2 5 5 8 5 5 2 4 5 2 4 4 2 5 5 8 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP