Monday, May 28, 2012

C Interview debugging questions | Find error in snippet type C Interview questions


Debugging questions are common in C Language interviews. In this post you can find some example c interview questions related to debugging.


Find error in following c snippet?
#include <stdio.h>
#include <conio.h>
int x;
int x=0;
int x;
int main(){
   printf("%d",x); 
   getch();
   return 0;
}
Answer:
No error. Global variables can have several declarations in C. Same is true for function declarations.

Find error in following c snippet?
#include <stdio.h>
#include <conio.h>
int x;
int x=0;
int x;
int x=1;
int main(){
   printf("%d",x); 
   getch();
   return 0;
}
Answer:
Error in Line number 6. Global variables can have several declarations in C but only one definition. Same is true for function declarations.

Also check out C interview example programs Questions exercises

You can find more such c interview question in related post mentioned below:

C interview example programs Questions exercises

Here are some common C Interview programming exercise technical questions answers usually asked from freshers in B.Tech Computer science or Information technology by most IT companies.

Frequently asked c programs interview questions


1. Write a program to display a message without using semi colon anywhere in program.

2. Write a program in C language to swap two numbers without using third variable or any mathematical operator.
(Hint: Use logical operator XOR)

3. Write a C data structure implementation of link list and code a function that can reverse the singly linked list without using any additional link list.
(Hint: You must reverse each link as you are traversing the link list and you must keep note of next element in some variable (before reversing the link) because when you reverse the link address of its old next element would be lost.)

4. C Interview Programs to print patterns : 

1  2  3  4
5  6  7
8  9
10 

1 1 2 3 5 8 13 21

1   2   3   4
12 13 14 5
11 16 15 6
10 9   8   7
         
1
12
123
1234
12345

1    1
 2  2
   3
 4  4
5    5

5. Write a program in c language to concatenate two strings without using library functions.


For more c interview question programs etc. click here

Check out more C interview questions in related posts below. In this blog you can also find number of free pdf which you can download and read later.

C interview basic questions and answers for freshers

Free download c interview programs as pdf

Thursday, May 3, 2012

VITEEE 2012 Results – Name wise Branch Predictions Rank Cutoffs for counseling



VITEEE 2012 Branch predictions, 2012 Results, name wise VITEEE 2012 ranks results,counselling

VITEEE 2012 results can be seen online at:


VITEEE 2012 Name Wise Results

VITEEE name wise result is usually published in one of these sites one or two days after the main results.

VITEEE 2012 Rank - Branch Predictions

For VITEEE 2012 branch predictions and rank cutoff can you can refer 2011 counseling data mentioned below. But please note that trend change every year since number of seats are usually increased and number of students called for counseling also increase.

VITEEE 2011 Counselling Seat Availability Statistics


After 4000 Rank
viteee 2011 counselling 2012 predictions



After 7000 Rank
viteee 2012 rank branch predictions


After 10000 Rank



After 13000 Rank

viteee 2012 results predictions


I don’t have data for last day of 2011 (after 16000) rank since it wasn’t published online. Last year 16,000 students were called for counseling. This year they have increased the number to 20000.

 Seat availability for VITEE 2010 counseling after 11000 ranks:

viteee 2010 counselling


You can compare the counseling data for last two years to analyze and predict branch closing ranks and ranks cutoffs for VITEEE 2012.

Here are some more useful links related to VIT,Vellore and VITEEE 2012