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

what is the output of the following program and explain the
answer
#include<stdio.h>
exp()
{
main(5)
}
main(int a)
{
printf("%d",a);
return;
}

Answer Posted / yogesh bansal

if we add semicolon after main(5) like ; main(5);

the ouput will be 1.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a progrmm in c language take user interface generate table using for loop?

1998


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2474


What is indirection in c?

1025


What is the code in while loop that returns the output of given code?

1900


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1922


Write a Program to accept different goods with the number, price and date of purchase and display them

6150


How are portions of a program disabled in demo versions?

1234


Is fortran still used in 2018?

987


Can you tell me how to check whether a linked list is circular?

1327


What is array of structure in c programming?

1242


What are the header files used in c language?

997


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2754


Can you please explain the scope of static variables?

1000


How to declare pointer variables?

1170


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2614