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

What are the salient features of c languages?

0 Answers  


main() { int i; printf("%d", &i)+1; scanf("%d", i)-1; }

1 Answers  


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

0 Answers  


WHAT IS PRE POSSESSORS?

6 Answers   TATA,


find the minimum of three values inputted by the user

3 Answers  






void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..

1 Answers  


3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r

3 Answers   Huawei,


program to find the ASCII value of a number

8 Answers  


Write a program to print all permutations of a given string.

0 Answers   JPMorgan Chase,


What is #include in c?

0 Answers  


4)What would be the output? main() { int num=425; pf("%d",pf("%d",num)); } a)Comp error b)4425 c)4253 d)3435 e)none

10 Answers  


What happens if you free a pointer twice?

0 Answers  


Categories