286 views

Please log in or register to answer this question.

Related questions

3 votes
3 votes
1 answer
1
1 votes
1 votes
1 answer
2
Vishal Goel asked May 5, 2017
428 views
If f is a float and n an int, then the expression (n 0) ? f : n is of type float regardless of whether n is positive.Why?
1 votes
1 votes
3 answers
3
shiva0 asked Apr 3, 2019
469 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 votes
0 votes
0 answers
4
garvit_vijai asked Sep 2, 2018
710 views
Please explain the output for the following program: #include<stdio.h>int main() { int i = 100; int *a = &i; float *f = (float *)a; (*f)++; pri...