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]));} None of these 5 6 7 4 None of these 5 6 7 4 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));} sizeof(i)=2 sizeof(i)=1 Compiler Error None of These sizeof(i)=2 sizeof(i)=1 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and IV I and III I and II III and IV II and III II and IV I and III I and II III and IV II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} Error 1 11 12 Error 1 11 12 ANSWER DOWNLOAD EXAMIANS APP