| | |
my final questions help please
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
1. printf("%d", 10*5/10); what is this result?
2. printf("%d", 10+5-5); what is this result?
3. a=d++ +(b=a); a=4,b=4,d=4 a=?
4. c=a+ a++ - b--; a=4,b=4 c=?
5. c=a+ ++a - b--; a=4,b=5 c=?
6. if(a==0 && b==0) printf("1);
else
if(a==0 && b==0) printf("2");
else printf("3");
(if a=1 and b=0) what is the result?
(if a=0 and b=0) what is the result?
(if a=0 and b=1) what is the result?
please help me thanks regards...
2. printf("%d", 10+5-5); what is this result?
3. a=d++ +(b=a); a=4,b=4,d=4 a=?
4. c=a+ a++ - b--; a=4,b=4 c=?
5. c=a+ ++a - b--; a=4,b=5 c=?
6. if(a==0 && b==0) printf("1);
else
if(a==0 && b==0) printf("2");
else printf("3");
(if a=1 and b=0) what is the result?
(if a=0 and b=0) what is the result?
(if a=0 and b=1) what is the result?
please help me thanks regards...
•
•
Join Date: Jan 2008
Posts: 3,844
Reputation:
Solved Threads: 503
•
•
•
•
1. printf("%d", 10*5/10); what is this result?
2. printf("%d", 10+5-5); what is this result?
3. a=d++ +(b=a); a=4,b=4,d=4 a=?
4. c=a+ a++ - b--; a=4,b=4 c=?
5. c=a+ ++a - b--; a=4,b=5 c=?
6. if(a==0 && b==0) printf("1);
else
if(a==0 && b==0) printf("2");
else printf("3");
(if a=1 and b=0) what is the result?
(if a=0 and b=0) what is the result?
(if a=0 and b=1) what is the result?
please help me thanks regards...
•
•
Join Date: Jan 2008
Posts: 3,844
Reputation:
Solved Threads: 503
•
•
•
•
no i dont wanna do spam.i ask my question there toobecause i dont know how to use a complier.please help me...
You need to learn to use a compiler, period. You cannot program without experimentation. You cannot experiment without actually compiling and running programs. There are lots of good compilers and IDEs out there, including:
Code Blocks
Dev C++
Microsoft Visual Studio Express
The above are all free. Install one, type in your program, compile and run it.
![]() |
Similar Threads
- Urgent help for BSc Computing for Business degree Final year project (IT Professionals' Lounge)
- Final year project!! (Networking Hardware Configuration)
- Final year Multimedia Project.Help!!! (Community Introductions)
- C++ questions, How do they do it? (C++)
- APC UPS Model Number undecided - Final decision awaited...!!! (Cases, Fans and Power Supplies)
- Two easy RAM questions hopefully (Motherboards, CPUs and RAM)
- Add-ins and whatnot (lots of questions) (PCI and Add-In Cards)
- gmail questions (Geeks' Lounge)
- Questions about Hp Pavillon MOBO 500 series (Motherboards, CPUs and RAM)
Other Threads in the C++ Forum
- Previous Thread: TCP client
- Next Thread: MSXML
Views: 597 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






