C Quiz


Written on February 25, 2008 – 7:22 pm | by admin

Hello friends , we all know very well about the operator :: and its uses. Lets have a small test on scope resolution operator’s function with a small program. It might be very easy, but try it out with out compiling the program. are u ready?

#include
int a=500;
void main()
{
int a=100;
printf(” The value of a is : %d “,a);
}

what will be the out put….?

Obviously the output will be a. Which “a” value is printed???? why?????

please give me solutions to get both the values printed :)

  1. One Response to “C Quiz”

  2. By soma buy and on May 26, 2008 | Reply

    buy soma canada buy janelle soma

Post a Comment