write a program to swap Two numbers without using temp variable.
Answer Posted / nagakishorebabu
a=a+b;
b=a-b;
a=a-b;
printf("a %dand b %dis :",a,b);
Is This Answer Correct ? | 181 Yes | 43 No |
Post New Answer View All Answers
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
What is calloc in c?
What are inbuilt functions in c?
What are the general description for loop statement and available loop types in c?
i have a written test for microland please give me test pattern
How to get string length of given string in c?
what is the role you expect in software industry?
What does s c mean in text?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
What are linker error?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
How to delete a node from linked list w/o using collectons?