Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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]



Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all ..

Answer / dede

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

print first nodd numbers in descending order

7 Answers  


What is purpose of new operator?

0 Answers  


What is the difference between C and CPP?

0 Answers   iNautix,


what is the behaviour of C and C++ compiler for the below statements. int *p; p = malloc(100); Is the behaviour same ? or different ?

2 Answers  


Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours &#8722; 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 Answers  


What is the use of function pointer?

0 Answers  


What are separators in c++?

0 Answers  


What is a hash function c++?

0 Answers  


Why is c++ still best?

0 Answers  


Do you know the use of vtable?

0 Answers  


What is an adaptor class or Wrapper class?

1 Answers  


How will you call C functions from C ++ and vice-versa?

0 Answers   Agilent, Tavant Technologies, Thomson Reuters, Verifone,


Categories