Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
Answer / vijaykumar
When constructor public c(string a) is called to construct
an object, it first calls the default constructor then the
initialisation procedures in public c(string a).
| Is This Answer Correct ? | 4 Yes | 0 No |
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Which is best book for data structures in c?
What is information technology.
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
how can we print hellow world programme without using semicolon
Binary tree traversing
#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?
Write a C program in Fibonacci series.
Write a program to show the workingof auto variable.
WHOT IS CHAR?
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }
Prove or disprove P!=NP.