n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}
Answer Posted / bobby shankar
it will display something garbage
because value of result is not
initialised .
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain #pragma statements.
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Can a file other than a .h file be included with #include?
How many keywords are there in c?
What are inbuilt functions in c?
How are structure passing and returning implemented?
Do you have any idea how to compare array with pointer in c?
What is getch() function?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is c value paradox explain?
What is main () in c language?
What does s c mean on snapchat?
What does malloc () calloc () realloc () free () do?
Why use int main instead of void main?
What is the benefit of using const for declaring constants?