Write a program to swap two numbers without using the third variable?
No Answer is Posted For this Question
Be the First to Post Answer
what is printf
a c code by using memory allocation for add ,multiply of sprase matrixes
int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?
Read two numbers from keyboard and find maximum of them?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
What is the difference between procedural and functional programming?
What are the concepts introduced in OOPs?
What is the hardest programming language?
Can you pass an entire structure to functions?
Why can't I perform arithmetic on a void* pointer?
What is meaning of tree
Why & is used in scanf in c?