The process of repeatedly running a set of computer instructions until some condition is specifed
a) condition
b) sequential condition
c) global
d) iteration
Program to find the sum of digits of a given number until the sum becomes a single digit
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
How do you declare a variable that will hold string values?
By using C language input a date into it and if it is right?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
how to swap four numbers without using fifth variable?
What will be the output of x++ + ++x?
Why use int main instead of void main?