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 2052Identify 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 2193Write a program to read two numbers from the keyboard and display the larger value on the screen
1 1161
What is difference between n and endl in c++?
Why do we use constructor?
What are the effects after calling the delete this operator ?
What is c strings syntax?
What is polymorphism and example?
What is c++ library?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
which of the following is not an secondary constant a) array b) real c) union
What is the use of class in c++?
What is meant by stl in c++?
What language does google use?
Explain what are accessor methods?
What is Destructor in C++?
Write a c program for binary addition of two 8 bit numbers.
What problems might the following macro bring to the application?