how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer Posted / dattatreya
#include<stdio.h>
int main(){
char a[6]="54321";
char *p=a;
while(*p){
printf("%s ",p++);
}
return 0;
}
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Describe static function with its usage?
i got 75% in all semester am i eligible for your company
Not all reserved words are written in lowercase. TRUE or FALSE?
writ a program to compare using strcmp VIVA and viva with its output.
If fflush wont work, what can I use to flush input?
What are the different types of data structures in c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is the difference between a string and an array?
Explain how do you list a file’s date and time?
Difference between linking and loading?
What do you mean by invalid pointer arithmetic?
What does != Mean in c?
What is #define size in c?
What is an operator?
What is 02d in c?