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



Given below are three different ways to print the character for ASCII code 88. Which is the correct ..

Answer / Prem Prakash

3

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is diff b/w huge & far & near pointer??

1 Answers   HCL,


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

1 Answers  


What is the difference between void main() and void main (void) give example programme?

0 Answers  


What are unions in c?

1 Answers  


Why cann't whole array can be passed to function as value.

1 Answers  


Are the variables argc and argv are always local to main?

1 Answers  


What is far pointer in c?

1 Answers  


In which category does main function belong??

5 Answers  


Why should I prototype a function?

1 Answers  


When should we use pointers in a c program?

1 Answers  


How can I find the modification date of a file?

1 Answers   Celstream,


Write a program to interchange two variables without using the third variable?

17 Answers   Accenture, College School Exams Tests, Infotech,


Categories