what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.
Answers were Sorted based on User's Feedback
Answer / srsabariselvan
6
because it'll print the last garbage value stored.
Is This Answer Correct ? | 3 Yes | 1 No |
how can make variable not in registers
What is a macro in c preprocessor?
Is c call by value?
player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 techniques. (but see next question) If he knows less than 10 techniques, then he must be a world champion. His name contains at least 3 words. For example "Sachin Tendulkar" will not meet this condition. Write a method: boolean isGoodPlayer(String name, String country, int yearsExperience, String[] majorTournamentsWon, String[] techniques, boolean isWorldChampion) name country yearsExperience majorTournamentsWon techniques isWorldChampion
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
Explain what is the difference between null and nul?
What are the different types of data structures in c?
explain what is an endless loop?
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
1 1 12 21 123 321 12344231 how i creat it with for loop??
Difference between Class and Struct.
13 Answers Ericsson, Motorola, Wipro,
How to receive strings with spaces in scanf()