How to swap values between two variables without using a
third variable?
Answer Posted / gourab varma
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
printf("enter value of a and b");
scanf("%d%d", &a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("the value of a=%d\n the value of b is=%d", a, b);
getch();
}
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Can i please VHDL code for D-Latch with clear input ?? (HINT: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs and Outputs: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;
If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this
a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov
Please describe an example where you used object orientation in one of your programs.
what is integration testing in real time applications?
how can we implement locks in plsql?
How do you pass variables forwrd to future CECI sessions
I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?
what are the missinschema properties and should we pass primary key in select command
If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com
I m new to the dbms. Recently i came across words clustered indexes & nonclustered indexes but i dont know what is this all about & whats the difference between them.. So please help me!!!!!!!!
where is available in this mantis toturials?
In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?
Any real time example of O2C process from taking order till creating invoice.