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 |
Can a file other than a .h file be included with #include?
suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
What is the role of && operator in a program code?
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
what is c++ programming?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Difference between constant pointer and pointer to a constant.
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
Explain the process of converting a Tree into a Binary Tree.
how to connect oracle in C/C++.