Rich Decorations
Faster download times.
Greater consistency in design.
No need to write HTML Tags
What will be the output of the following code segment?
int x = 24, y = 39, z = 45;z = x + y;y = z - y;x = z - y;printf("\n%d %d %d", x, y, z);
24 39 63
39 24 63
24 39 45
39 24 45
Personal Hyper Pretext
Pretext Hypertext Processor
Hypertext Preprocessor
Preprocessor Home Page
Either True or False
is less than or is more than
is equal or less or more
All of the above
Binary operator
Unary operator
Ternary operator
Spaces
Digits
Underscores
Letters
What is the output of the following code?
int a = 5;printf("%d", a == 5);
0
1
5
Undefined
//
/
#
/*
What is the output of the following code:
int x = 5;
printf("%d", x++);
4
6
A number
A special symbol other than underscore
Both of the above
An alphabet
*
+
++
&&
What will be the output of the following code?
int a = 10, b = 20;printf("%d", a + b);
30
1020
10+20
Compiler error
They execute programs faster than compilers
They translate the entire program at once
They translate and execute code line by line
They are not used in modern programming
final
constant
const
static
Keywords can be used as variable names
Variable names can contain digits
Variable names do not contain blank spaces
Capital letters can be used in variable names.
main(){ int a, b; a=b=4; b=a++; printf("%d %d %d %d", a++, --b, ++a, b--);}
5 3 7 3
Syntax error
5 4 5 3
6 2 6 4
char > int > float
int > char > float
char < int < double
double > char > int
Structural
Presentational
Markup
Behavioral
-5
+5
It returns the size of the variable in bits
It returns the size of the variable in bytes
It returns the size of the variable in kilobytes
It returns the number of elements in an array
“programming Trick”
“programming"
‘programming'
$ programming $
signed short
unsigned short
long
int
AT & Ts Bell Laboratories of USA in 1972
AT & Ts Bell Laboratories of USA in 1970
Sun Microsystems in 1973
Cambridge University in 1972
System programming language
General purpose language
Data processing language
None of the above
The basic data type of C
Qualifier
Short is the qualifier and int is the basic data type
All of the mentioned
/* */
What will be the output of the following pseudo code ?
Integer aSet a =4do print a + 2 a = a-1while (a not equals 0)end while
6 6 6 6
6 5 4 3
6 7 8 9
6 8 10 12
immutable
mutable
volatile
-1
2
| |
!
CSS
jQuery
JavaScript
PHP
LowerCase letters
UpperCase letters
CamelCase letters
None of these
PHP 4
PHP 5
PHP 5.3
PHP 6
int main(){int x,y,z;x='1'-'0'; /* line-1 */y='a'-'b'; /* line-2 */z=x+y;printf("%d",z);}
Error because of incorrect line-1 only.
Error because of incorrect line-1 and line-2.
Error because of incorrect line-2 only.
int a = 10, b = 5;printf("%d", a / b);
0.5
15
Style sheets allow content to be optimized for more than one type of device.
CSS can store web applications locally With the help of an offline cache
Using CSS, we can view online website. In cache also ensures faster loading and better overall performance of the website.
All of the above.
int number;
float rate;
int variable_count;
int $main;
results in a syntax error
output Infomax7
outputs garbage
outputs infomax and terminates abruptly
&
%
A
B
ADA
C++
int x = 5;printf("%d", ++x);
7
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
Find the output of following code :
int main() { int i=-2; printf (“-i=%d”,-i); return b; }
–i=2
i=-2
–i=-2
–i=+2
Assignment Relational Arithmetic
Arithmetic Relational Assignment
Relational Arithmetic Assignment
Assignment Arithmetic Relational
getchar()
gets()
scanf()
cin.get()
32
36
40
Easier to maintain and update.
More formatting options.
2.5
2.000000
2.500000
infomax
info_max
info max
All of these
Constants
Keywords
Operators
Tokens