What is the 'named constructor idiom'?
No Answer is Posted For this Question
Be the First to Post Answer
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
Is array name a pointer?
Are pointers integers in c?
Illustrate it summing the series 2+4+6+......to n terms using (i) while loop (ii) do-while loop
What is the maximum length of an identifier?
Will Macros support multiple arguments ?
Describe dynamic data structure in c programming language?
Can you define which header file to include at compile time?
Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning
What is the scope of an external variable in c?
How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.
What is volatile variable in c with example?