How do I write a c++ program?
No Answer is Posted For this Question
Be the First to Post Answer
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster
what you know about c++?
Is there structure in c++?
What is the difference between containment and delegation?
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
What is the limitation of cin while taking input for character array?
What happens if a pointer is deleted twice?
What is oops in c++?
What C++ libraries are you proficient with?
what are the types of Member Functions?
Can we distribute function templates and class templates in object libraries?