Can we specify variable field width in a scanf() format string? If possible how?


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

Post New Answer

More C++ General Interview Questions

What are the uses of static class data?

0 Answers  


Differentiate between a template class and class template in c++?

0 Answers  


what is a reference variable in C++?

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


What is abstraction c++?

0 Answers  






1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v

5 Answers   Quark,


What are the main features of c++?

0 Answers  


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

0 Answers  


What do you mean by inheritance in c++? Explain its types.

0 Answers  


Explain what is polymorphism in c++?

0 Answers  


When does the c++ compiler create temporary variables?

0 Answers  


Can we use pointers in c++?

0 Answers  


Categories