Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Program is to reverse the names stored in an array pointer:
Program is to reverse the 6 names stored in an array pointer as name[]
void main()
{
clrscr();
char *names[]={ "Anand","Vimal","Naresh","Amul","Sohan","Vishal" };
char *t;
int l=strlen(*names);
for (int i=0;i<(l+1)/2;i++)
t=names[i];
names[i]=names[l-i];
names[l-i]=t;
}
for (i=0;i<=l;i++)
cout< } getch(); }
getch();
What is the purpose of return values? Can you not return any values from a function? If you could what would he function look like?
It is a feature in C++ to reduce name collisions in the global name space. This namespace keyword assigns a separate name to a library that allows other libraries to use the simila
superposition of two waves
Ask question #Mi fd d fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
when you allocate memory with new[], you ought to free the memory via delete[]. While you allocate memory along 'new', then use 'delete' with no the brackets. You employ new[] to a
3 . Write a ‘C’ program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number.
Mention clearly about srand and rand().
Difference between Echo and print statement. print()and echo() are language constructs in PHP, both are used to output strings. Both statements are of almost same Speed. ech
#include long BixFunction(int x, int y = 5, float z = 5) { return(++x * ++y + (int)++z); } int main() { cout return 0; }
Create Complex number using constructor: class complex { private:
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd