Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Constants
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some code } Answer: This will not go into the loop as TRUE is defined as 0. 2007-02-26, 7402👍, 0💬
Modulation Operations
Write an equivalent expression for x%8? x&7 2007-02-26, 7386👍, 0💬
Incremental Operatiors
What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y; printf("%d %d\n",x,y); } Answer: 11, 16 2007-02-26, 7255👍, 0💬
Incremental Operatos
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= ++y + ++x; printf("%d%d\n",x,y); } Answer : 5794 2007-02-26, 7150👍, 0💬
Conditional Statements
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===0) { //do something } 2007-02-26, 7093👍, 0💬
Overriding Defined Macros
How do you override a defined macro? You can use the #undef preprocessor directive to undefine (override) a previously defined macro. 2007-02-26, 7048👍, 0💬
Popular Posts:
How can I enable session tracking for JSP pages if the browser has disabled cookies? We know that se...
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...
How To Write a Minimum Atom 1.0 Feed File? - RSS FAQs - Atom Feed Introduction and File Generation I...
How To Create an Add-to-Netvibes Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...
How to create a thread in a program? You have two ways to do so. First, making your class "extends" ...