C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 Error c A 65 Error c A ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value h hi Error Garbage Value hi followed by garbage value h hi Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} None of These GOOD BAD GOOD Compiler Error None of These GOOD BAD GOOD Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 4 2, 3 1 1, 4 None of these 2, 4 2, 3 1 1, 4 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Comparing the two strings to define the larger one. Combining two strings. Partitioning the string into two strings. Extracting a substring out of a string. Merging two strings. Comparing the two strings to define the larger one. Combining two strings. Partitioning the string into two strings. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Bjarne Stroustrup Dr. Dennis Ritchie James F. Codd Gosling Bjarne Stroustrup Dr. Dennis Ritchie James F. Codd Gosling ANSWER DOWNLOAD EXAMIANS APP