write a programming in c language,
1
3 5
7 9 11
Answer Posted / rehan
void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What are all different types of pointers in c?
What is new line escape sequence?
Is linux written in c?
what type of questions arrive in interview over c programming?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What are c identifiers?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
How can I make sure that my program is the only one accessing a file?
Is Exception handling possible in c language?
What are different storage class specifiers in c?
Sir i need notes for structure,functions,pointers in c language can you help me please
Explain what happens if you free a pointer twice?
What do you understand by friend-functions? How are they used?