C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 complier error no error no output 0 1 complier error no error no output 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Combining two strings. Merging two strings. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} None of These 11 12 13 None of These 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } None of these int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP