// Program to show swap of two no’s without using third variable #include<stdio.h> #include<conio.h> void main() { int a, b; printf("\nEnter value for num1 & num2 : "); scanf("%d %d", &a, &b); a=a+b-(a=b); //Swaping printf("\nAfter swapping value of a : %d", a); printf("\nAfter swapping value of b : %d", b); … |
|
Please help me to build a list of examples of stack and queue in real life situation... Conditions: The object concerned must only one object. And the object must be tangible. Example: Queue (FIFO): The bullet in a machine gun..(you cannot fire 2 bullets at the same time) Stack (LIFO): … |
|
|
Aside from the Assembly Language, what is the most powerful language? |
Hello everyone, I'm a 3rd year uni student from Staffordshire. Now at the placement and looking for a Super Cool Final Year Project. My final year is starting this August and hoping to armor my self better with some research on the project. I still do not have any idea..what … |
|
I have a big dilemma, so I need some additional info. I need to choose a specialization, so I have two main candidates : Artificial Intelligence and Data Science. I like both of the degrees, but If you could help me by writting from your experience what are the positive, … |
|
Im new at programming i started learning Visual Basic today to start things off because i plan on going to college for this type of thing. I was just curious, which type of coding/language do you use to write and create Smart-phone apps in my case Blackberry apps. I know … |
|
I'd like to find an algorithm book that's either meant to be or good to use as a reference. By "reference" I mean that it contains all the basic algorithms (machine-learning algorithms especially) like QuickSort, Logistical Regression, Clustering. Preferably, including both the mathimicatical definition as well as psuedo code, or … |
|
hello friends i am doing my pre final year b.e in computer stream. i jus need some innovative ideas for my new project to be done in d following year. pls let me knw sum new ideas |
|
Hi there everybody. I hope you are all well. I have a question about planning and designing computer programs. Can someone tell me how someone going about a large program would go about this. There would be allot of classes, functions, modules etc. I want to learn how to do … |
|
So, I've wanted to learn how to program for a while now. Like 10 years. I have gotten nowhere with my endeavors. I haven't been able to go to college yet(working on that for the Spring semester) and I haven't been able to teach myself how to program. I work … |
|
my teacher asked me "Why c++/c## support operator overloading and java don't?" I have an answer for Java. anything I read, just said about how to write, define or something else. No answer for "why" someone can give me a document which I need or the answer. thanks for reading … |
|
Create as program that calculates the current grade in a class, the program should ask for 5 grades as well as the toal point value. I am new to programming and need help! |
|
hi is there anyone who can help me to create a game program in pascal hoping that one of you can help me please even a simple calculator coz i really dont know how to create |
|
Write a program that reads a line of text, changes each uppercase letter to the lowercase, and places in a queue and onto a stack. The program should then verify whether the line of text is a palindrome. |
|
What is the difference between these two classes? In the second one `protected:` looking like it isn't doing anything at all, there's nothing under it umbrella. class Tank { protected: int wheels; public: void setWheels(int newWheels) { wheels = newWheels; } int getWheels() { return wheels; } }; /////////////////////////////////////////////////////////////// class … |
|
hello guys, i am creating a simple quiz on c# in visual studio. I am stuck in changing the page(switchig to next question) when one question is answered. what should i do for that ? i tried by making a new form inside the previous one but its not a … |
|
Hello Friends, I want to know - "What is Polymorphism in C++?" Books can not help me...please make me clear about it..in simple terms..please...!! |
|
i want to know the differnce between int a=10 & int a; a=10; though both look same and assign the value 10 to the variable a. but in memory theres a big difference between te two. Can anyone help me with this?? |
|
I'm reading my C++ book and I've come to a chapter on structures and unions. The book has tried to explain the difference but I'm not getting it's explanation. Playing with the structure examples in the book reminds me of accessing attributes to a python Class but apart from that, … |
|
An algorithm takes 1 second to execute for an input size of 10. What will the largest size of input be that can be executed in 25 seconds if the running time is quadratic (N2)? Can i also have links to literature that can give me clear examples or explanations, … |
|
0 Reputation Points
~24.4K People Reached
Favorite Forums
Computer Science
x
8