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
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Write a C program to fill a rectangle using window scrolling
Which is better between malloc and calloc?
What is the difference between NULL and NUL?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.
with out using main how to execute the program?
1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.
what is the use of ‘auto’ keyword?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
Can we change the value of static variable in c?
wt is diference between int and int pointer as same as float and float pointer and char and char pointer
How can you restore a redirected standard stream?