What is the Difference between Class and Struct?
Answer Posted / vishnupriya
1.the variables of struct r jus varialbles inly,whereas it
it objects for class...
2. pointers can be used in structure only for same return
types,but in classes it can be uses for diff classes
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why c language?
What are formal parameters?
What is data types?
What is the scope of local variable in c?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Where in memory are my variables stored?
Between macros and functions,which is better to use and why?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Write a program to print ASCII code for a given digit.
What is meant by realloc()?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
How do I copy files?
What is 02d in c?
explain what are actual arguments?
How many header files are in c?