int a=20;
int b=30;
int c=40;
printf("%d%d%d");
what will be the output?

Answers were Sorted based on User's Feedback



int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?..

Answer / senthil

will print junk values, as no arguments after printf string present.

Is This Answer Correct ?    9 Yes 2 No

int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?..

Answer / ankitdas

403020

Is This Answer Correct ?    2 Yes 0 No

int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?..

Answer / sangam khera

depending upon the compiler ....

IN TURBO C++ -> it will give an error a,b,c assigned a valued that is never used."

IN GCC(DEV C++)->it will give garbage value....

Is This Answer Correct ?    2 Yes 0 No

int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?..

Answer / anu

203040

Is This Answer Correct ?    0 Yes 0 No

int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?..

Answer / neethu

%d%d%d

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More C Interview Questions

What is formal argument?

0 Answers  


totally how much header files r in c language

8 Answers   TCS,


What does & mean in scanf?

0 Answers  


c program to input values in a table(using 2D array) and print odd numbers from them

1 Answers  


What is the difference between union and anonymous union?

0 Answers   Hexaware,






How is = symbol different from == symbol in c programming?

0 Answers  


What is c programing language?

0 Answers  


Explain what is a static function?

0 Answers  


Tell me is null always defined as 0(zero)?

0 Answers  


WHAT IS LOW LEVEL LANGUAGE?

2 Answers  


what is event driven software and what is procedural driven software?

0 Answers  


Explain the difference between strcpy() and memcpy() function?

0 Answers  


Categories