#‎include‬<stdio.h>
void main()
{
int i;
for(i=5;0;i++)
{
printf("%d",i);
}
}
Answers were Sorted based on User's Feedback
Answer / khushbu srivastva
a error will be generated i.e unreachable code
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / deepika agrawal
an error will be encountered in the begining of the program...
Is This Answer Correct ? | 2 Yes | 0 No |
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
write a program to swap Two numbers without using temp variable.
75 Answers EMC, Focus, GreyB, HCL, Hitech, HP, Huawei, Infosys, Mannar Company, Microsoft, Miles Software, Odessa Technologies, Satyam, TCS, Wipro,
Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;
What are the Advantages of using macro
What is queue in c?
sum of two integers values only other then integer it should print invalid input.
enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program
A C E G H +B D F A I ------------ E F G H D
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Write a program to generate random numbers in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
How can I check whether a file exists? I want to warn the user if a requested input file is missing.