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

can we access one file to one directory?

1 Answers  


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

0 Answers  


How can my program discover the complete pathname to the executable from which it was invoked?

0 Answers  


main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....

2 Answers  


How many bytes is a struct in c?

0 Answers  






How can I implement a delay, or time a users response, with sub-second resolution?

0 Answers  


What is the correct code to have following output in c using nested for loop?

0 Answers  


FILE PROGRAMMING

0 Answers   Wipro,


What is pointer and structure in c?

0 Answers  


if p is a string contained in a string?

0 Answers  


What are the advantages of the functions?

0 Answers  


Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning

4 Answers   Accenture,


Categories