Difference between Class and Struct.
Answer Posted / ravish
Structure is a value type variable, but a class is a
reference type variable.
We can create an object of a class but not for a structure.
Structures does not have function definition but a class has..
| Is This Answer Correct ? | 6 Yes | 7 No |
Post New Answer View All Answers
What is uint8 in c?
What is a macro in c preprocessor?
What is a pointer and how it is initialized?
Explain the array representation of a binary tree in C.
Explain the use of 'auto' keyword
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What type of function is main ()?
What is wild pointer in c with example?
What is spark map function?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
how do you execute a c program in unix.
How to get string length of given string in c?
What is formal argument?
What are different storage class specifiers in c?