What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } None of these haasi asiha absiha hai TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Syntax error Runtime error 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 None of These Compiler Error 50 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 Garbage Value None of These 0 TRUE ANSWER : ? YOUR ANSWER : ?
The default parameter passing mechanism is call by value result call by value None of these. call by reference TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the given program?#include<stdio.h>void main(){ int value=0; if(value) printf("well done "); printf("examveda");} examians well done examians None of these complier error TRUE ANSWER : ? YOUR ANSWER : ?
"My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15%%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15'%'!"); TRUE ANSWER : ? YOUR ANSWER : ?
In which stage the following code#include<stdio.h>gets replaced by the contents of the file stdio.h During Preprocessing None of these During Editing During Execution During linking TRUE ANSWER : ? YOUR ANSWER : ?
A C variable cannot start with Both of the above A special symbol other than underscore A number An alphabet TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Linking error 3 hello None of these Compiler Error TRUE ANSWER : ? YOUR ANSWER : ?