#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(ā%dā ,a[i]);
}
Answer Posted / kapil
1 2 3 4 5
| Is This Answer Correct ? | 3 Yes | 14 No |
Post New Answer View All Answers
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is else if ladder?
Differentiate between the = symbol and == symbol?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
Describe the difference between = and == symbols in c programming?
Is file a keyword in c?
How can I use a preprocessorif expression to ?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What are Macros? What are its advantages and disadvantages?
How do you print an address?
Is javascript based on c?
How do I use void main?
What header files do I need in order to define the standard library functions I use?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?