printy(a=3,a=2)
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
this is the user writtern function...... this is function
definition statement..... it wont recoganize this statement
because no memory will be allocated for this a=3 or 2...
since we didnt declare it first of all/.. this may be the
error
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / guest
if we want to show result as a=3,a=2..then it ll be written
as
printf("a=3,a=2");
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / parthibanselvaraj
the printf function canbe redefined by your program using
typedef and try this.
Is This Answer Correct ? | 1 Yes | 0 No |
Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?
WHAT WILL BE THE OUTPUT OF THE FOLLOWING QUESTION void main() { int x=4,y=3,z; z=x-- -y; printf("%d%d%d",x,y,z); }
Given that two int variables, total and amount , have been declared, write a sequence of statements that: initializes total to 0 reads three values into amount , one at a time. After each value is read in to amount , it is added to the value in total (that is, total is incremented by the value in amount ). Instructor's notes: If you use a loop, it must be a for loop. And if you use a loop control variable for counting, you must declare it.
write the value of x and y after execution of the statements: int x=19,y; y=x++ + ++x; x++; y++;
How to upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try some program using loop statement and checking it in multiple compilers. Every compiler showing different output, what's the wrong ? is it a compiler based problem, or loop based problem, tell me why ? and what will be the debugging process, for this kind of problem ?
I can not get my C++ program to work right. It is supposed to tell if a word is a palindrome or not, but it only tells thet the word is not a palindrome. And I can't fix it.
Write a c-programe that input one number of four digits and find digits sum?
who was the present cheif governor of reserve bank of india
6 Answers State Bank Of India SBI,
What is the code for following o/p * * * * * * * * * * * * * * * *
Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .
I'm having trouble with coming up with the correct code. Do I need to put a loop? Please let me know if I'm on the right track and what areas I need to correct. I still don't have a good grasp on this programming stuff. Thanks =) The assignment was to write a program using string functions that accepts a coded value of an item and displays its equivalent tag price. The base of the keys: 0 1 2 3 4 5 6 7 8 9 X C O M P U T E R S Sample I/O Dialogue: Enter coded value: TR.XX Tag Price : 68.00
how to convert decimal to binary in c using while loop without using array
50 Answers Apple, Aptech, Arwen Tech, BCS, C2D Software, CEC,