main()
{
printf("hello%d",print("QUARK test?"));
}

Answers were Sorted based on User's Feedback



main() { printf("hello%d",print("QUARK test?")); } ..

Answer / mytri

hello11QUARK test?

Is This Answer Correct ?    3 Yes 1 No

main() { printf("hello%d",print("QUARK test?")); } ..

Answer / vanitha

QUARK test? hello 11

Is This Answer Correct ?    1 Yes 1 No

main() { printf("hello%d",print("QUARK test?")); } ..

Answer / vignesh1988i

QUARK test?hello1

first it prints the inner most printf statement and then and the comes to the second printf and returns the number of characters inside the " ". but this wat i think, may be wrong too




thank u.

Is This Answer Correct ?    1 Yes 1 No

main() { printf("hello%d",print("QUARK test?")); } ..

Answer / rahul shrivastava

helloQUARK test?1

Is This Answer Correct ?    0 Yes 0 No

main() { printf("hello%d",print("QUARK test?")); } ..

Answer / vinay

QUARK TEST

hello 10

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

how can i make a program with this kind of output.. Enter a number: 5 0 01 012 0123 01234 012345 01234 0123 012 01 0

4 Answers   Wipro,


2. What does static variable mean?

2 Answers  


write a program to convert a expression in polish notation (postfix) to inline (normal)

0 Answers   Siemens,


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

0 Answers   Aspiring Minds,


How can I do serial ("comm") port I/O?

0 Answers   Celstream,






sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


What are c preprocessors?

0 Answers  


what is the different between if-else and switch statment (other than syntax)

26 Answers   CTS, Oracle, Scorpos,


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

0 Answers  


Where static variables are stored in c?

0 Answers  


Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not

9 Answers   Alcatel,


a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above

2 Answers   HCL, NBN,


Categories