C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 9 6 Error 5 None of these 9 6 Error 5 None of these 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 k can’t be initialized. There should be a semicolon at the end of the statement. The commas should be semicolons. The increment should always be ++k . The variable must always be the letter i when using a for loop. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The commas should be semicolons. The increment should always be ++k . The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Combining two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Combining two strings. Comparing the two strings to define the larger one. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} None of These N M P None of These N M P ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 100 0 Error 1 100 0 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 Error 2 1 -2 Error 2 1 ANSWER DOWNLOAD EXAMIANS APP