write a program to swap Two numbers without using temp variable.

Answer Posted / susa

printf("number present in a",&b);
printf("number present in b",&a);

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are types of preprocessor in c?

626


What is an example of structure?

598


Why do we use stdio h and conio h?

649


Write a program to implement queue.

674


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1602






What are the modifiers available in c programming language?

753


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1864


write a proram to reverse the string using switch case?

2477


What's the best way of making my program efficient?

633


What is d scanf?

609


How do you use a pointer to a function?

646


State two uses of pointers in C?

646


What is echo in c programming?

567


What is logical error?

610


Do you know null pointer?

624