Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by DEBANJAN DAS2k
0
votes
0
answers
1
integer promotion
#include<stdio.h> main() { short int i = 20; char c = 97; printf("%d, %d, %d \n", sizeof(c+1), sizeof(c+1.0), sizeof(c+i)); return 0; } What is the output?
#include<stdio.h>main(){short int i = 20;char c = 97;printf("%d, %d, %d \n", sizeof(c+1), sizeof(c+1.0), sizeof(c+i));return 0;}What is the output?
301
views
asked
Mar 29, 2022
Programming in C
programming-in-c
+
–
0
votes
0
answers
2
Suppose I have two files, a.c and b.c. The code for each of them is as follows:
Suppose I have two files, a.c and b.c. The code for each of them is as follows: a.c: #include<studio.h> main() { //somecode } b.c : #include<studio.h> printf("Hey"); Suppose I ... it will show? 1. Compiler Error 2. Linker Error 3. None, but shows Runtime error when executed. @Sachin Mittal 1
Suppose I have two files, a.c and b.c. The code for each of them is as follows:a.c:#include<studio.h>main(){ //somecode}b.c :#include<studio.h>printf("Hey");Suppose I ...
279
views
asked
Mar 28, 2022
Programming in C
programming-in-c
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register