Archive for logical questions in c language.

You are browsing the archives of logical questions in c language..

Technical/logical interview questions in C language –freshers must read it!!

1. What type of memory could be accessed in least time?
(a)cache memory
(b)secondary memory
(c)main memory
(d)none
Ans:A

2. void main()
 
{
 
int const * p=5;
 
printf("%d",++(*p));
 
}

What is the output?
(a) 6
(b) 5
(c) [...]