Which operations are permitted on pointers?
No Answer is Posted For this Question
Be the First to Post Answer
Differentiate between structure and class in c++.
Explain the advantages of using friend classes.
What is dangling pointers?and what is memory leak?
What does flush do c++?
Can you write a function similar to printf()?
What is the real purpose of class – to export data?
what is the use of void main() in C++ language?
describe private access specifiers?
Does c++ have arraylist?
Explain Text Manipulation Routines?
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; }
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.