Author Archives: admin

Question for Campus Preparation

What will be the output ? #include<stdio.h> int main() { int x=5; if(x>3>2) printf(“Hello %d”,x); else printf(“Hi %d”,x); } ANS:  Hi 5 Explanation:  Here inside if we have written x>3>2 i.e 5>3>2  .In it 2 operators are there and both … Continue reading

Posted in Campus Preparation | Tagged , , , , | Leave a comment

Free C++ Project-Tic Tac Toe Game Project

C++ Project for Class 11th/12th /9th/10th Description: This C++ program on TIC TAC TOE GAME is a simple text base game. This program is without grahics to focus on logic /algorithm used in game. Two players can play this game. Click on … Continue reading

Posted in Free C++ Projects | Tagged , , , , , , , , | Leave a comment

Questions with Answers on Pre-Post Operators For 9/10th class Java/C++ Students

State the value of a, b and c after the execution of each of the following statements where a=12, b=13 and c=11: a=a++ + –b + c++ Ans. a=35, b=12, c=12 b=b++ + ++a * 2 Ans. a=13, b=39, c=11 … Continue reading

Posted in 9/10th Class Students | Tagged , , , , , , , , , , | Leave a comment