C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 0 0 1 None of these 1 1 1 0 0 0 0 1 None of these 1 1 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? Depends upon the type of the variable to which it is pointing. No data type float unsigned int int Depends upon the type of the variable to which it is pointing. No data type float unsigned int int ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 0 1 2 3 1 1 2 2 0 1 2 2 1 1 2 3 None of these 0 1 2 3 1 1 2 2 0 1 2 2 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) power(2, x) pow(2, x) power(x, 2) pow(x, 2) sqr(x) power(2, x) pow(2, x) power(x, 2) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;int value;printf("Enter your age:");value=scanf("%f", &age);if(value==0){printf("\\nYour age is not valid");}AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("\\n You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Complier error Enter your age: xyz Your age is not valid Enter your age : xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Complier error Enter your age: xyz Your age is not valid Enter your age : xyz Your age is not valid ANSWER DOWNLOAD EXAMIANS APP