Recent questions tagged data-types

2 2 votes
1 1 answer
174
174 views
For implicit type conversion, arrange the following from a lower size type to a high type size.doubleunsigned long intunsigned intlong doublelong intChoose the correct an...
2 2 votes
6 6 answers
4.2k
4.2k views
What is the output of the following $C$-programmain() { printf("%d %d %d",size of (3.14f), size of (3.14), size of (3.141)); }4 4 44 8 108 4 88 8 8
1 1 vote
3 3 answers
1.0k
1.0k views
What is the output of the program? int main() { union a { int i; char ch ; }; union a u; u.ch[0] = 3; u.ch = 2; printf("%d, %d, %d", u.ch[0], u.ch , u.i); return 0; }
0 0 votes
0 0 answers
385
385 views
My doubt is very basic, I want to understand what is the use of signed and unsigned used with integer.?2.what does size of signed int (-128 to 127) signify?3how to big en...
2 2 votes
2 2 answers
5.9k
5.9k views
Predict the output of following C programs1.#includeint main(){ char a = '\012'; printf("%d", a); return 0;}2.#includeint main(){ char a = '012'; printf...
7 7 votes
4 answers 4 answers
3.5k
3.5k views
The output of the following C program will be _____#include<stdio.h #define type int type foo(type b) { return b*b; } #undef type #define type float int main() { float a ...
0 0 votes
1 1 answer
1.8k
1.8k views
The data type created by the data abstraction process is calledClassStructureAbstract data typeUser defined data type
2 2 votes
2 answers 2 answers
2.1k
2.1k views
If an integer needs two bytes of storage, then the maximum value of unsigned integer is$2^{16} – 1$$2^{15} – 1$$2^{16}$ $2^{15}$
To see more, click for the full list of questions or popular tags.