what will be the output for the following
main()
{
printf("hi" "hello");
}

Answers were Sorted based on User's Feedback



what will be the output for the following main() { printf("hi" "hello"); }..

Answer / sumesh

the output of this question will be hihello (without any blank space).

Is This Answer Correct ?    28 Yes 2 No

what will be the output for the following main() { printf("hi" "hello"); }..

Answer / manishsoni

can any one tell me hows the answer is:
hihello

Is This Answer Correct ?    2 Yes 0 No

what will be the output for the following main() { printf("hi" "hello"); }..

Answer / manoj

it raises an error

Is This Answer Correct ?    4 Yes 3 No

what will be the output for the following main() { printf("hi" "hello"); }..

Answer / chaitu

the output of this is "hihello"

Is This Answer Correct ?    3 Yes 3 No

what will be the output for the following main() { printf("hi" "hello"); }..

Answer / prabu

The output will be
hi hello

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More C Interview Questions

where does malloc() function get the memory?

1 Answers  


What are reserved words with a programming language?

0 Answers  


What is identifier in c?

0 Answers  


What is the difference between malloc() and calloc()?

0 Answers  


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,






What are the average number of comparisons required to sort 3 elements?

2 Answers   DRDO,


What does 2n 4c mean?

0 Answers  


int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?

5 Answers   CMC,


Where static variables are stored in c?

0 Answers  


write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?

3 Answers   Oracle,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

7 Answers  


What are the types of pointers?

0 Answers  


Categories