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

Can stdout be forced to print somewhere other than the screen?

0 Answers  


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?

1 Answers   Wipro,


what do the 'c' and 'v' in argc and argv stand for?

0 Answers   TISL,


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

0 Answers  


What is the purpose of sprintf() function?

0 Answers  






Explain what is the most efficient way to store flag values?

0 Answers  


#include <stdio.h> int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 Answers  


How can I send mail from within a c program?

0 Answers  


Explain the priority queues?

0 Answers  


How do you write a program which produces its own source code as its output?

2 Answers  


What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }

5 Answers  


explain what is fifo?

0 Answers  


Categories