n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}
Answer Posted / shruti
the answer depends upon, to what value result is
initialised..
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is a lookup table in c?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
given post order,in order construct the corresponding binary tree
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
how to print the character with maximum occurence and print that number of occurence too in a string given ?
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
Explain 'far' and 'near' pointers in c.
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
In c programming language, how many parameters can be passed to a function ?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is c mainly used for?
please send me the code for multiplying sparse matrix using c
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Are enumerations really portable?
how to find anagram without using string functions using only loops in c programming