Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
Answers were Sorted based on User's Feedback
#include<stdio.h>
#include<conio.h>
void main()
{
int i,sum=65;
clrscr();
printf("*");
for(i=1;i<=26;i++)
{
sum=sum+1;
printf("%c",sum);
}
getch();
}
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / muthyala nagaraju
#include<stdio.h>
#include<conio.h>
main()
{
int i;
char ch='A';
for(i=65;i<=97;i++)
{
printf("%c",ch++);
}
}
Is This Answer Correct ? | 0 Yes | 0 No |
what are the stoge class in C and tel the scope and life time of it?
What is table lookup in c?
#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?
Write a program to print “hello world” without using semicolon?
Simplify the program segment if X = B then C ← true else C ← false
What is volatile variable in c with example?
What is the difference between class and object in c?
How can I find the modification date of a file?
Why we use break in c?
the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0
What is the scope of static variables?
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20