Write a C program to read the internal test marks of 25
students in a class and
show the number of students who have scored more than 50%
in the test.
Make necessary assumptions.
Answer Posted / diwakar
45
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is function what are the types of function?
What is echo in c programming?
What is an arrays?
How does struct work in c?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is the difference between declaring a variable and defining a variable?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is anagram in c?
Can the “if” function be used in comparing strings?
Explain heap and queue.
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is malloc() function?