cin.ignore(80, _
_);This statement

a) ignores all input

b) ignores the first 80 characters in the input

c) ignores all input till end-of-line

d) iteration


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what are the facialities provided by you after the selection of the student.

0 Answers   TCS,


What is maximum size of array in c?

0 Answers  


Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"

6 Answers   IBM,


Explain enumerated types in c language?

0 Answers  


please explain every phase in the "SDLC" in the dotnet.

0 Answers  






I came across some code that puts a (void) cast before each call to printf. Why?

0 Answers  


What is #include cctype?

0 Answers  


what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }

3 Answers   Honeywell,


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database

2 Answers   TCS, Unisys, Webyog,


write a program in c to read array check element is present or not?

1 Answers  


explain what is a newline escape sequence?

0 Answers  


What is default value of global variable in c?

0 Answers  


Categories