STL (140)
OOPS (873)
C++ General (2409) Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all in one line (b) in three lines Q2 Write a program that asks interactively the user’s name and age and responds with Hello name, next year you will be next_age. where next_age is age + 1 Q3 For the different values of n, what is the output? printf(“%x %c %o %d”,n,n,n,n); (a) n = 67 (b) n = 20 (c) n = 128 (d) n = 255 (e) n = 100 Q4 What will be the output of the following program? int main() { char a,b,c; scanf(“%c %c %c”,&a,&b,&c); printf(“a=%c b=%c c=%c”,a,b,c); return 0; } [Note: The user input is:ABC DEF GHI]
1 1953Identify the error in the following program.
#include
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
2 2067Write a program to read two numbers from the keyboard and display the larger value on the screen
1 1066
What type of question are asked in GE code writing test based on c++ data structures and pointers?
What is the prototype of printf function?
What is private, public and protected inheritance?
write a program to convert a decimal number in to its equivalent binary number?
What is extern c++?
What is the difference between the parameter to a template and the parameter to a function?
What is pointer in c++ with example?
Is dev c++ free?
Why do we use classes in programming?
Which language is not a true object oriented programming language?
What do you mean by overhead in c++?
Why is the function main() special?
What are the different types of comments allowed in c++?
What do the header files usually contains?
Implement stack operations with pointers with appropriate exception checks.