Home

The output of the following code is:
void main() 
{
int a = 1, b=2;
int *ip;
ip=&a;
b=*ip;
printf("%d", b);
}

A. 2

B. 1

C. 100

D. 0

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Only one break can be used in one loop.
  2. The output of the following code is: int f(int a, int b); void main() {int a = 12, b=154; printf("%d",…
  3. The size of signed integer is ------ bytes.
  4. Which of the following language is predecessor to C Programming Language?
  5. What is C Tokens?
  6. Which of the following correctly describes C++ language?
  7. /* The C language./* is a procedural language .*/*/The above statement is valid.
  8. What is the difference between overloaded functions and overridden functions?
  9. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  10. Which of the following is the most preferred way of throwing and handling exceptions?
  11. A multidimensional array A[10][9] can store-------- number of elements
  12. && and & operators have the same meaning.
  13. The output of the following code is:void change (char *k) {k="Hello";return; } main() { char *ch = "World";;change(ch);…
  14. Structures within structures cannot be created.
  15. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  16. Which of the following is a valid destructor of the class name "Country"
  17. Union is used to hold different data at different time.
  18. If 'str' is a string of 7 characters, the statement printf("%4s", str); will display ------characters.
  19. A declaration float a, b; occupies ___ of memory
  20. continue statement is used
  21. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  22. The identifier argv[] is a pointer to an array of strings.
  23. The-------------------- statement helps immediate exit from any part of the loop
  24. Which one of the following is not a fundamental data type in C++
  25. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  26. What is right way to Initialization array?
  27. For 16bit compiler allowable range for integer constants is ______ ?
  28. The same variable names of automatic type can be used in different functions without any conflict.
  29. The default initial value of automatic storage class is 0.
  30. C programs are converted into machine language with the help of