What is the output of the program
#include<stdio.h>
#include<conio.h>
void main()
{0
int i,j=20;
clrscr();
for(i=1;i<3;i++)
{
printf("%d,",i);
continue;
printf("%d",j);
break;
}
getch();
}
Answers were Sorted based on User's Feedback
Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
How. To pass the entrance test
please give me some tips for the placement in the TCS.
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
number of times a digit is present in a number
how can i get this by using for loop? * ** * **** * ******
Can we add pointers together?
what is the purpose of the code, and is there any problem with it. unsigned int v[10]; unsigned int i = 0; while (i < 10) v[i] = i++;
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }
Why we use stdio h in c?