C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? No output Runtime error 6 8 Syntax error No output Runtime error 6 8 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} WorldHello Hello World None of these Hello World WorldHello Hello World None of these Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. Some address will be printed. None of these. Error Will make an infinite loop. Some address will be printed. None of these. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam Exam Veda Exam\0Veda Veda None of these Exam Exam Veda Exam\0Veda Veda None of these 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. None of these 1, 4 2, 4 1 2, 3 None of these 1, 4 2, 4 1 2, 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 433 Garbage Value 000 444 333 433 Garbage Value 000 444 333 ANSWER DOWNLOAD EXAMIANS APP