Difference between const char* p and char const* p?
There is no difference between const char *p and char const *p as both are pointer to a const char and position of '*'(asterik) is also same. 2. char *const ptr : This is a constant pointer to non-constant character. You cannot change the pointer p, but can change the value pointed by ptr.
| Is This Answer Correct ? | 0 Yes | 0 No |
Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program
Difference between linked list and array?
5. Can inline functions have a recursion?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is srand c++?
Declare a class vehicle and make it an abstract data type.
How to stop conversions among objects?
What is one dimensional array in c++?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
Do vectors start at 0?
Can a program run without main in c++?
What do you mean by function overriding & function overloading in c++?