Sunday, 4 January 2015

Programming Quiz-45


main()
   {
    int i;
    printf("%d", &i)+1;
    scanf("%d", i)-1;
  }

a. Runtime error.
b. Runtime error. Access violation.
c. Compile error. Illegal syntax
d. None of the above


Answer: D
  

No comments:

Post a Comment