How much is size of struct having 1 char & 1 integer?
Answer Posted / santosh jain
zero , struct will not have any size in memory untill
object is created.
Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
What are activex and ole?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
What is insertion sorting?
Why the usage of pointers in C++ is not recommended ?
Describe private, protected and public – the differences and give examples.
Why iomanip is used in c++?
How many types of classes are there in c++?
What is the basic difference between C and C++?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
what is scupper?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
When should we use container classes instead of arrays?
Where can I run c++ program?
Is c++ platform dependent?