What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } asiha hai absiha haasi None of these TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program code?#include<stdio.h>#define a 10void main(){ #define a 50 printf("%d", a);} 10 Compiler Error None of These 50 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65488 65486, 65486 65486, 65490 65486, 65487 None of these TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff2 fff1 fff0 fff4 fff3 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} None of These Some Address will be printed H Hello TRUE ANSWER : ? YOUR ANSWER : ?
C was primarily developed as Data processing language General purpose language None of these System programming language TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program code?#include<stdio.h>void main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} None of these. 10 Error 0.000000 TRUE ANSWER : ? YOUR ANSWER : ?
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);} Complier error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz Your age is not valid Enter your age : xyz Your age is not valid TRUE ANSWER : ? YOUR ANSWER : ?
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);} 1 1 2 2 0 1 2 2 0 1 2 3 1 1 2 3 None of these TRUE ANSWER : ? YOUR ANSWER : ?
The type of the controlling expression of a switch statement cannot be of the type ........ int float char long short TRUE ANSWER : ? YOUR ANSWER : ?