what type of errors are checked during compilation

Answers were Sorted based on User's Feedback



what type of errors are checked during compilation..

Answer / r.prasad

syntax and semantics related

Is This Answer Correct ?    27 Yes 3 No

what type of errors are checked during compilation..

Answer / manasa

Syntax Errors

Is This Answer Correct ?    2 Yes 3 No

what type of errors are checked during compilation..

Answer / rajasekharreddy

#include<stdio.h>
#define SIZE 10
int main()
{
int arr[SIZE],i,arr_Size,position;

printf("enter array size\t");
scanf("%d",&arr_Size);

printf("enter numbers\t");

for(i=0;i<arr_Size;i++)
{
scanf("%d",&arr[i]);
}

printf("before delete element\n");

for(i=0;i<arr_Size;i++)
{
printf("\t%d",arr[i]);
}

printf("\nenter position to delete\t");

scanf("%d",&position);

--position;

arr[position]=0;

for(i=position;i<(arr_Size-1);i++)
{
arr[i]=arr[i+1];
}

arr_Size--;

printf("after delete element\n");

for(i=0;i<arr_Size;i++)
{
printf("\t%d",arr[i]);
}

return 0;
}

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

What are preprocessor directives?

0 Answers  


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

0 Answers  


What are terms in math?

0 Answers  


convert 0.9375 to binary

2 Answers   CTS, TANCET,


what is difference between overriding and overloading?

1 Answers  






Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

0 Answers   MNC,


what is the difference between strcpy() and memcpy() function?

2 Answers  


why i join syntel?

23 Answers   ABC, Syntel, TCS,


write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

5 Answers   HCL,


What does a function declared as pascal do differently?

0 Answers  


Write a code to generate a series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


What are integer variable, floating-point variable and character variable?

0 Answers  


Categories