Q1. What is the range of values that can be stored by int datatype in C?
Q2. What will be the output of the following code snippet?
#include
int main(){
int a = 3,
b = 5;
int t = a;
a = b;
b = t;
printf("%d %d", a, b);
return 0;
}
Q3. How is an array initialized in C language?
Q4. What is the output of the following code snippet?
#include int main() { int a[] = {1, 2, 3, 4}; int sum = 0; for(int i = 0; i < 4; i++) { sum += a[i]; } printf("%d", sum); return 0; }
Q5. How are String represented in memory in C?
Q6. Which of the following is an important requirement of c programming?
Q7. Which of the following is true in the case of c programming?
Q8. What is a while loop?
Q9. What are const data types used for?
Q 10. Which of the following will produce a value of 22 if x=22.9:
Thank You..!!!!
Results Awaited