C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... Data file stdin no such function in 'C'. stderr string Data file stdin no such function in 'C'. stderr string ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? James Dennis Ritchie F. Codd Gosling Dr. Bjarne Stroustrup James Dennis Ritchie F. Codd Gosling Dr. Bjarne Stroustrup ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 2 Error 1 -2 2 Error 1 ANSWER DOWNLOAD EXAMIANS APP