Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?


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

Post New Answer

More C Interview Questions

how can write all 1to 100 prime numbers using for loop,if and break ?

2 Answers   TCS,


Explain what are global variables and explain how do you declare them?

0 Answers  


How would you use the functions fseek(), freed(), fwrite() and ftell()?

0 Answers   Aspire, Infogain, TISL,


What is macro?

5 Answers   IBM,


control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent

1 Answers  






main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

0 Answers   Wilco,


write a program to remove occurrences the word from entered text?

1 Answers  


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

0 Answers  


How do I send escape sequences to control a terminal or other device?

0 Answers  


Write a c program to read a positive number and display it in words.? ex: 123=one two three help me....

2 Answers  


regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression

1 Answers   TCS,


Why c is a procedural language?

0 Answers  


Categories