C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } None of these void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } None of these 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 Your age is not valid Complier error Enter your age: xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds Enter your age : xyz Your age is not valid Complier error Enter your age: xyz Your age is not valid Enter your age: xyz You have lived for 0 seconds ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 12 12 13 22 14 12 13 12 10 11 13 22 11 11 11 22 13 14 14 22 12 12 13 22 14 12 13 12 10 11 13 22 11 11 11 22 13 14 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 2 3 3 4 3 3 2 2 2 4 2 3 3 4 3 3 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. None of these. p is a pointer to a 5 elements integer array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 4 5 6 7 8 9 1 2 3 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP