Home

What will be output if you will compile and execute the following c code?


#include 
int main(){
char c=125;
c=c+10;
printf("%d",c);
return 0;
}

 

A. 135

B. +INF

C. -121

D. -135

You can do it
  1. The output of the following code is:void change (char *k) {k="Hello";return; } main() { char *ch = "World";;change(ch);…
  2. C programs are converted into machine language with the help of
  3. What's wrong? while( (i < 10) && (i > 24))
  4. It is necessary to initialize the array at the time of declaration.
  5. Character data types cannot be declared as unsigned.
  6. Which one of the following is not a valid reserved keyword in C++
  7. Which of the following language is predecessor to C Programming Language?
  8. The output of the following code is: main() {int a = 5, b = 6; (a == b? printf("%d", a)); }
  9. Every if statement can be converted into an equivalent switch statement.
  10. What is the difference between overloaded functions and overridden functions?
  11. p++ executes faster than p + 1.
  12. What is an array?
  13. printf("%d", sizeof('2')); will print 2.
  14. The expression (i + j)++ is illegal.
  15. unsigned' is a valid variable name.
  16. Expression 4**3 evaluates to 64.
  17. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  18. Which options shows the correct hierarchy of arithmetic operators
  19. emp name' is a valid variable name.
  20. Identify the wrong statement
  21. Which of the following keyword supports dynamic method resolution?
  22. Operation between an integer and float always yields a float result.
  23. All macro substitutions in a program are done before compilation of the program.
  24. The contents of a file opened in 'r+' mode cannot be changed.
  25. Structures within structures cannot be created.
  26. void' is a datatype.
  27. What is C Tokens?
  28. Which of the following is not true about preprocessor directives
  29. The expression "int i = j = k = 0;" is invalid.
  30. If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const…