Create a simple code fragment that will swap the values of two variables num1 and num2.
No Answer is Posted For this Question
Be the First to Post Answer
What are the commands should be given before weiting C Program i.e, Cd.. like
4 Answers IBM, Infonet, Satyam, Tech Mahindra,
i want to know aptitude questions,technical questions
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What are header files in c programming?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
Array is an lvalue or not?
What is the difference between calloc() and realloc()?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
why we use pointer in c
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc