Ask Question - Get Answer

1 Ans Various Types of errors in C programming

Asked by AL MaMun (4 Golds) one week ago at (Education Engineering)

Please log in to answer, like and save
0
Save 0

<<< Previous
Log in to Answer

Answer(s):

Various Types of Error in C programming:

1. Syntax error
2. Run-time error
3. Linker error
4. Logical error
5. Semantics error


#include<stdio.h>
int main()
{
printf("Hello")
return 0;
}

#include<stdio.h>
int main()
{
int a=10;
printf("%d",a/0);
return 0;
}

#include<stdio.h>
int Main()
{
int a=4/2;
printf("a=%d",a);
return 0;
}

#include<stdio.h>
int main()
{
int sum=0, i, k=1;
for(i=1;i<=10;i++);
{
sum=sum+k;
k++;
}
printf{"sum=%d",sum);
return 0;
}

#include<stdio.h>
int main()
{
int a=1, b=2, c=3;
a+b=c;
return 0;
}

Answered by AL MaMun (4 Golds) one week ago

Please log in to Upvote, Downvote and Report
           

Related Q/A:

1 Ans Which is the most famous web developing site online?

1 Ans Armstrong Number - Palindrome Number - Fibonacci Number - Perfect Number definition example

1 Ans Classification of Computers

3 Ans Write all HTML tags

1 Ans What is a computer? Write the basic parts of a computer.

1 Ans What is virtual memory?

1 Ans Understanding Huffman Coding - the easiest way to construct Huffman tree

1 Ans What is BIOS in a computer system ?

2 Ans SRS meaning?

2 Ans Which Info will we get from IP address? Briefly explain


AL MaMun (active on Monday, 06 Sep 2021, 11:15 AM) (4 Golds)
Birds of the sky (active on Tuesday, 31 Aug 2021, 12:28 PM) (1 Gold)
Tajrimun Elisha (active on Friday, 22 Nov 2019, 08:56 AM) (2 Golds)
Hena Begum (active on Friday, 15 Feb 2019, 11:04 PM) (8 Bronzes)
Ghost (active on Saturday, 05 Jan 2019, 10:37 AM) (1 Silver)
APU KUMAR ROY (active on Sunday, 22 Sep 2019, 02:42 AM) (1 Bronze)
BrandonDug (active on Thursday, 17 Dec 2020, 05:25 AM) ( New Contributor )
Md Hasan (active on Saturday, 02 Nov 2019, 10:02 AM) (4 Bronzes)
Sowrov (active on Thursday, 14 Feb 2019, 10:48 AM) (7 Bronzes)
Shahansha Habib (active on Monday, 21 Oct 2019, 04:09 PM) (2 Bronzes)
Md Mondol (active on Tuesday, 23 Jul 2019, 10:28 PM) (2 Bronzes)
Hazrat (active on Sunday, 26 May 2019, 05:55 AM) (2 Bronzes)
عبد الحنان سلفي (active on Friday, 28 Aug 2020, 05:04 PM) (2 Bronzes)
student (active on Monday, 27 Jul 2020, 07:28 PM) (2 Bronzes)
MD SAIFUL ISLAM (active on Friday, 24 Jan 2020, 04:13 PM) ( New Contributor )
Miskatul Zannat Bristy (active on Friday, 16 Jul 2021, 02:08 AM) ( New Contributor )
Daily Science (active on Friday, 03 Jan 2020, 07:52 PM) ( New Contributor )
GoMedii (active on Monday, 21 Dec 2020, 02:28 PM) ( New Contributor )
Jackson99 (active on Monday, 27 Apr 2020, 02:44 PM) ( New Contributor )
Arif Hossain (active on Tuesday, 08 Jan 2019, 11:59 PM) (3 Silvers)
Show All Members

Online Now 1
Today's Unique PageViews 171
Today's Total PageViews 893
Site's Total PageViews 2708185