-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
immutable
mutable
const
volatile
Apply styles for the web page
Define structure of the web page
Provide meaning to the sections of the web page
None of the above
float_int, keyword, A1
ANSI, ascii, cpu
valid, variable, name
What is the output of the following code:
int x = 5;
printf("%d", x++);
4
5
6
Undefined
CSS
jQuery
JavaScript
PHP
Notepad
Notepad++
Adobe Dreamweaver
All of the above
Id_No
ID_NO
IdNo
Id No
Personal Hyper Pretext
Pretext Hypertext Processor
Hypertext Preprocessor
Preprocessor Home Page
< php >
< ? php ?>
?>
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.
print("Hello World");
echo("Hello World");
printf("Hello World");
None of these
char
int
float
double
4 Bytes
8 Bytes
Depends on the system/compiler
Cannot be determined
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
What is the output of the following code?
int a = 10, b = 5;printf("%d", a / b);
2
0.5
15
Both can occur multiple times, but a declaration must occur first.
A definition occurs once, but a declaration may occur many times.
Both can occur multiple times, but a definition must occur first.
A declaration occurs once, but a definition may occur many times.
char > int > float
int > char > float
char < int < double
double > char > int
it Compare the variable a and the variable b are same.
The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
The value of b is assigned to variable a but if b changes later, it will effect the value of variable a.
The value of variable a is assigned to variable b, and the value of variable b is assigned to variable a.
What will be the output of the following program?
int main() { int x=5; printf(“%d %d %d”,x,x<<2,x>>2); }
1 20 5
5 1 20
5 20 1
20 1 5
void
endl
switch
//
#
/* */
world
addition23
test-name
factorial
Spaces
Digits
Underscores
Letters
link, load, code, compile and execute
code, compile, link, execute and load
code, compile, link, load and execute
compile, code, link, load and execute
put together the file and functions that are required by the program
translate the instructions into a form suitable for execution by the program
load the executable code into the memory and execute them
allow the user to type the program
When the following piece of code is executed, what happens?
b = 3;a = b++;
a contains 3 and b contains 4
a contains 4 and b contains 4
a contains 4 and b contains 3
a contains 3 and b contains 3
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
“programming Trick”
“programming"
‘programming'
$ programming $
Rich Decorations
Faster download times.
Greater consistency in design.
No need to write HTML Tags
scanf()
getch()
getche()
gets()
*
+
++
&&
A
B
ADA
C++
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
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
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
1
3
Depends on the system
&
||
!
What is the output of this statement
printf("%d", (a++));
The value of (a + 1)
Error message
Garbage
The current value of a
start()
printf()
main()
30
32
36
40
long double
far double
C compiler supports octal integer constant.
C compiler supports hexadecimal integer constant.
C compiler supports binary integer constant.
C compiler supports decimal integer constant.
8
16
array
Easier to maintain and update.
More formatting options.
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
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.