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 |
Write a program to implement queue.
What is switch in c?
What are the functions to open and close file in c language?
Explain what standard functions are available to manipulate strings?
what do u mean by Direct access files? then can u explain about Direct Access Files?
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
write a program to rearrange the array such way that all even elements should come first and next come odd
Hai what is the different types of versions and their differences
What are the advantages of using Unions?
What is the difference between #include and #include 'file' ?
what is data structure.in linear and non linear data structures which one is better?Explain
main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }
4 Answers Vector, Wipro, Zoho,