Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why the below program throughs error during compilation?

#include<stdio.h>
#include<conio.h>
enum
{
ZERO,
ONE,
TWO,
};

main()
{

printf("%d",&TWO);
getch();
}

Answer Posted / modassir alam

TWO or any enum variable not hold memory address hence error

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 5 organizational structures?

1080


Write a factorial program using C.

1117


What is the difference between c and python?

1228


Why do we use header files in c?

1121


What is volatile c?

1083


What are the functions to open and close file in c language?

1260


Explain what is the difference between functions abs() and fabs()?

1255


What are nested functions in c?

1070


Can a local variable be volatile in c?

1050


Is boolean a datatype in c?

1125


How do you do dynamic memory allocation in C applications?

1134


In a switch statement, what will happen if a break statement is omitted?

1114


Explain low-order bytes.

1090


Is main is a keyword in c?

1174


what do you mean by inline function in C?

1098