Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << "
";2) cout.put(88);3) cout << char(88) << "
";

a) 1

b) 2

c) 3

d) constant


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 Answers   Google,


Explain b+ tree?

0 Answers  


can we print any string in c language without using semicolon(;)(terminator) in whole program.

11 Answers  


What is unary operator?

0 Answers  


program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

8 Answers   Infosys,






List the difference between a "copy constructor" and a "assignment operator"?

0 Answers   Accenture,


What are the application of c?

0 Answers  


which is an algorithm for sorting in a growing Lexicographic order

0 Answers  


Why do we use c for the speed of light?

0 Answers  


what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"

4 Answers  


How does C++ help with the tradeoff of safety vs. usability?

1 Answers  


I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?

1 Answers  


Categories