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...

main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?

Answer Posted / vikramanj

Actually compile time err wil occur..
Its "Possibly incorrect assignment"
Its due to if(a=0)??
Its wrong,we have to compare only while checking
conditions..
we have to use the operators which are used to check
conditions like ==,<=,>=....

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is C language being considered a middle level language?

1042


What is New modifiers?

1060


What is difference between main and void main?

1117


Why is this loop always executing once?

999


What are c identifiers?

1039


What are header files in c programming?

1075


What is a example of a variable?

949


What header files do I need in order to define the standard library functions I use?

998


int i=10; printf("%d %d %d", i, i=20, i);

1549


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

1035


How can I implement a delay, or time a users response, with sub-second resolution?

1033


How can I run c program?

1126


In c programming language, how many parameters can be passed to a function ?

1052


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2521


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1070