Answer Posted / sreeshma
#include<stdio.h>
main()
{
int i,n;
printf("enter a range of numbers");
scanf("%d",&n);
for(i=0;i<=n;i+2)
{
printf("%d",i);
}
break;
getch();
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
Is there a way to switch on strings?
What are enums in c?
What are the types of pointers in c?
Is using exit() the same as using return?
What's the best way of making my program efficient?
write a program to rearrange the array such way that all even elements should come first and next come odd
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
Explain how do you search data in a data file using random access method?
What is the use of getch ()?
What is d scanf?
What is #error and use of it?
What is c basic?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file