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

Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

0 Answers   Huawei,


void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


When should you use a type cast?

0 Answers  


What is difference between array and pointer in c?

0 Answers  


Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that

3 Answers  


what is the difference b/w NULL and null?

3 Answers   HSBC, IBM,


Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 Answers  


Can we change the value of static variable in c?

0 Answers  


#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2 Answers   Facebook,


What's wrong with "char *p; *p = malloc(10);"?

5 Answers  


How do we declare variables in c?

0 Answers  


Categories