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
How to compare array with pointer in c?
Why are all header files not declared in every c program?
Explain what is output redirection?
What is an auto variable in c?
What are the key features in c programming language?
Explain the meaning of keyword 'extern' in a function declaration.
What are the primitive data types in c?
How is = symbol different from == symbol in c programming?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
What is the scope of an external variable in c?
What is cohesion and coupling in c?
How do we print only part of a string in c?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Is c still used?
Differentiate fundamental data types and derived data types in C.