What is the Difference between Class and Struct?
Answer Posted / santhosh.r
Structs allocates continues memory
where as class does not
structs and functions are the basic idea behind class
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Describe the header file and its usage in c programming?
Explain the ternary tree?
What is structure padding in c?
What is an endless loop?
What is the symbol indicated the c-preprocessor?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
How do you initialize pointer variables?
Explain how do you use a pointer to a function?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What are the types of pointers in c?
Difference between constant pointer and pointer to a constant.
What is string constants?
Differentiate between ordinary variable and pointer in c.
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Explain what are the advantages and disadvantages of a heap?