printf("%d",(printf("Hello")); What it returns?

Answers were Sorted based on User's Feedback



printf("%d",(printf("Hello")); What it returns? ..

Answer / praneeth

It doesn't because in printf access specifier is Integer
but to display Hello we should use %s.

Is This Answer Correct ?    1 Yes 22 No

printf("%d",(printf("Hello")); What it returns? ..

Answer / rajesh

0

Is This Answer Correct ?    9 Yes 62 No

Post New Answer

More C Interview Questions

write a program to add two numbers of any size.....(remember any size)

1 Answers  


#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?

1 Answers  


How can I increase the allowable number of simultaneously open files?

1 Answers   CSC,


Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.

4 Answers  


What is the difference between struct and typedef struct in c?

0 Answers  






how to find anagram without using string functions using only loops in c programming

1 Answers   Mind Tree, TCS,


explain how do you use macro?

0 Answers  


write a c program to find the square of a 5 digit number and print the result.

5 Answers   Accenture, Sasken, Vimukti Technologies,


What are formal parameters?

0 Answers  


can we write a program in c for printf and scanf without using header file stdio.h

1 Answers  


Write a program in c using only loops to print * * * * * *******

2 Answers   IBM,


write a program to generate 1st n fibonacci prime number

2 Answers  


Categories