class test
{
int a;
public:
test(int b):a(b){}
void show(){
cout<<a;
}
};
void main()
{
test t1;
test t2(5);
t1.show();
t2.show();
}
}
class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }
void main() { int i=7; printf("N= %*d",i,i); }
Write down the difference between c. Loop and goto statement d. (!0) and (!1) e. (1= =! 1) and (1!=1) f. NULL and !NULL
A sample program using data structure? what is file handling?
what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?
quoroum of computer languages?
void main() { int i=5; printf("%d",i+++++i); }
errors are known as?
3 Answers EX, State Bank Of India SBI,
#include<>stdio.h> #include<>conio.h> { printf("hello"); void main() getch(); } what the out put of this program and why ......plz clear my answer
difference between c/c++ programing language? what is necessesity of c++ when existing c programing language?
How to reverse a linked list without using array & -1? Thank you.
char* f() return "hello:"; void main() {char *str=f(); }