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 is the stackpointer

2 Answers  


How does free() know explain how much memory to release?

0 Answers  


Compare array data type to pointer data type

0 Answers  


what is the benefit of c30

2 Answers  


What are dangling pointers in c?

0 Answers  






How can I do serial ("comm") port I/O?

0 Answers   Celstream,


void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y); }

5 Answers  


helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe

2 Answers  


how many argument we can pas in in a function

25 Answers   CTS,


Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?

1 Answers   Microsoft,


What is the use of gets and puts?

0 Answers  


c program to subtract between two numbers without using '-' sign and subtract function.

1 Answers  


Categories