Toggle navigation
Login / Register
Ask Questions
Study
Current Affairs
Previous Papers
Kerala PSC
IBPS
UPSC
RBI
TNPSC
MPSC
SSC
CBSE
United States
Model Tests
News
More
Answers
Coaching Centres
Careers
Downloads
Colleges
Kuwait News & Classifieds
Classic Jhumka Earrings Silver
INR 113.00
Free Shipping
Buy Now
Black Jhumka Earrings & Studs
INR 94.00
Free Shipping
Buy Now
Classic Jhumka Earrings Silver
INR 207.00
Free Shipping
Buy Now
Beautiful stud earing
INR 93.00
Free Shipping
Buy Now
Different Size Hoop and Stud Earrings Set
INR 243.00
Free Shipping
Buy Now
Golden Hoop Earing
INR 70.00
Free Shipping
Buy Now
×
Create account with Openguide
Sign Up
By clicking Sign Up, you agree that you have read and accepted the
Open Guide Online User Agreement.
Already have an account?
Log in
×
Login to OpenGuide
Login
Forgot password?
Reset it
New user?
Register
×
Reset your password
Reset Password
Registered user?
Log in
New user?
Register
Home
Questions & Answer
Technology Questions & Answers
C programming Questions & Answers
C programming Questions & Answers
(Compiled from UPSC, SSC ,PSC ,IBPS previous question papers)
What is wild pointer in c
A
a pointer which we need to write in future
B
a pointer which has bad naming convention
C
a pointer which has no limit
D
a point which has not initialized
Size of void pointer is
A
1 byte
B
2 byte
C
4 byte
D
8 byte
Any type of modification on the parameter inside the function will reflect in actual variable value can be related to
A
call by value
B
call by reference
C
both of above
D
none of above
E
Answer And Expla
What is prototype of a function in C
A
It is the return type of a function
B
It is the return data of the function
C
It is declaration of a function
D
It is a datatype
Disadvantage of array in C is
A
We can easily access each element
B
It is necessary to declare too many variables
C
It can store only one similar type of data
D
None of above
Wild pointer in C
A
if pointer is pointing to a memory location from where variable has been deleted
B
if pointer has not been initialized
C
if pointer has not defined properly
D
if pointer pointing to more than one variable
What is dangling pointer in c
A
if pointer is pointing to a memory location from where variable has been deleted
B
if pointer is assigned to more than one variable
C
if pointer is not defined properly
D
none of above
Which is invalid name of identifier
A
world
B
addition23
C
test_name
D
factorial
Adding to a pointer that points to an array will
A
Cause an error
B
Increase the value of the element that the pointer is pointing to
C
Cause the pointer to point to the next element in the array
D
None of above
What is true about fputs function
A
write to a file
B
takes two parameters
C
requires a file pointer
D
all of above
What is correct order of precedence in C
A
Addition, Division, Modulus
B
Addition, Modulus, Division
C
Multiplication, Substration, Modulus
D
Modulus, Multiplication, Substration
A variable in c
A
must have a valid datatype
B
must have a name starting with a character
C
All of above
printf() belongs to which library of c
A
stdlib.h
B
stdio.h
C
stdout.h
D
stdoutput.h
UML meaning is
A
Unique modeling language
B
Unified modeling language
C
Unified modern language
D
Unified master laqnguage
Structures can be used
A
to hold different datatypes
B
have pointers to structures
C
to assign to one another
D
all of above
A member is a
A
Variable in a structure
B
Datatype of structure
C
Structure pointer
D
None of above
To access the members of structure which symbol is used
A
*
B
-
C
,
D
.
What among following is true about stack
A
stack cannot reuse its memory
B
all elements are of different datatypes
C
all operation done at one end
D
none of above
Difference between structure and union is
A
We can define functions within structures but not within a union
B
We can define functions within union but not within a structure
C
The way memory is allocated
D
There is no difference
If (*p) and **p is same
A
No
B
Yes
Can getch() be used to echo the input
A
Yes
B
No
What is the purpose of getc()
A
read a character from STDIN
B
read a character from a file
C
read all file
D
read file random
Which operator has the highest priority
A
()
B
[]
C
*
D
/
The compiler in C ignores all text till the end of line using
A
//
B
/
C
*/
D
none of above
rand() function returns
A
float value
B
integer value
C
any type
D
none of above
Out of following program :
float x = 10.7;
int i;
i = (int) x;
print i;
A
null
B
error
C
10
D
garbage value
E
Answer And Ex
What is use of in c
A
used to insert a vertical tab
B
used to insert a tab
C
places cursor at the end of line
D
places cursor at the start of line
total number of keywords in C are
A
30
B
32
C
48
D
132
Which of the following below is/are valid C keywords
A
integer
B
int
C
null
D
none of above
If include files can be nested
A
Yes
B
No
1
2
Categories
Android
C programming
C++ programming
Cloud Computing
Computer
Computer System Architecure
Data Base
Data Structure
Internet & Social Media
Java programming
Manual Testing
MS Office
MySQL
Networking
Operating System
PHP
Programming
Software Engineering
Software Testing
Help & Support
About Us
Contact Us
Terms of Service