What is the Difference between Class and Struct?
Answer Posted / sureshreddy
the diff b/w structure and class is class by deafualt
private, where as structure by default public.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What are qualifiers in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is sizeof int in c?
When should a type cast be used?
Should I learn c before c++?
What is the purpose of macro in C language?
What is the return type of sizeof?
Why n++ execute faster than n+1 ?
Explain what is meant by high-order and low-order bytes?
What does 1f stand for?
Is c weakly typed?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.