C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These 300 %d\n Error None of These 300 %d\n Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 5 4 None of these 6 7 5 4 None of these 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff1 fff0 fff4 fff3 fff2 fff1 fff0 fff4 fff3 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 commas should be semicolons. 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 increment should always be ++k . The commas should be semicolons. 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 increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} None of These 10 9 11 None of These 10 9 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} None of these arr[7] arr{7} arr[6] arr{6} None of these arr[7] arr{7} arr[6] ANSWER DOWNLOAD EXAMIANS APP