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 |
Is it better to use malloc() or calloc()?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
Not all reserved words are written in lowercase. TRUE or FALSE?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
In c programming language, how many parameters can be passed to a function ?
Do you have any idea about the use of "auto" keyword?
Explain what is wrong with this program statement? Void = 10;
What are header files in c?
What is 02d in c?
What is use of pointer?
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?