C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 6 5 7 None of These 6 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. There should be a semicolon at the end of the statement. The variable must always be the letter i when using a for loop. The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Comparing the two strings to define the larger one. Merging two strings. Extracting a substring out of a string. Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Merging two strings. Extracting a substring out of a string. Combining two strings. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.5 9 0.25 1 2 0.5 9 0.25 1 2 ANSWER DOWNLOAD EXAMIANS APP