How can I direct output to the printer?
No Answer is Posted For this Question
Be the First to Post Answer
pierrot's divisor program using c or c++ code
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
How can I list all of the predefined identifiers?
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.
what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
where are auto variables stored? What are the characteristics of an auto variable?
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
here is a link to download Let_Us_C_-_Yashwant_Kanetkar
YBJBU6
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }
What is the use of #define preprocessor in c?