Welcome to AMIE Study - AMIE India Students Forum

AMIE Study - AMIE India Students Forum

collapse collapse

* Shoutbox

Refresh History
  • girish_amie: Please upload electrical engineering latest question paper
    December 06, 2017, 09:25:40 AM
  • JYOTI VERMA: agr kisi ko apna exam city and center change krana hom to use kya krna chahiye plz suggest.
    October 14, 2017, 01:16:11 PM
  • JYOTI VERMA: amie ka exam center kaise change kr skte hai agr kiisi ko pta ho to plz btaiye .
    October 14, 2017, 01:15:31 PM
  • anoop.goyal9: error in online fee payment for winter 2017 examination
    October 12, 2017, 07:23:34 AM
  • ramajit: [link]
    October 06, 2017, 12:34:12 PM
  • ramajit: yes.. results announced... me 2/3 passed in Sec-B prodn Engg... xo xo... wow....
    October 06, 2017, 12:34:09 PM
  • suji.sujithraj: Guys check your results... its announced...!!!
    October 06, 2017, 10:26:53 AM
  • ramajit: summer'17 result will come or not ?
    October 06, 2017, 06:44:28 AM
  • jitu12341: Result has been declared ♡♡♡♡
    October 06, 2017, 06:30:56 AM
  • jitu12341: breaking news results will be publshed in March 18 along with winter 17
    October 04, 2017, 12:54:36 PM
  • ramajit: any tentative date aware about Summer'17 result
    October 03, 2017, 03:13:48 PM
  • nelokulood: What is the last date to apply for lab and project for winter 2017 session
    October 02, 2017, 11:39:31 AM
  • nelokulood: When will amie summer  2017 results be published
    October 02, 2017, 11:38:50 AM
  • SnrTech: please upgrade my membership to super member I already made payments Rs.500/- into bank account
    September 27, 2017, 11:17:12 PM
  • jitu12341: Is there anybody having EL 404, circuit and field theory notes  please mail on [email protected]
    September 23, 2017, 05:53:34 AM
  • jitu12341: Result is expected in first week of October
    September 23, 2017, 05:48:39 AM
  • manirock87: Result kab aayega for summer 2017
    September 22, 2017, 06:59:35 AM
  • mudassir.search007: Do i need to pay a separate fee for the Section A examination after paying the re-registration Fee (SEC A)
    September 20, 2017, 10:25:06 PM
  • kirannm: sorry just checking
    September 16, 2017, 08:07:00 PM
  • kirannm: hjhhjdfhj
    September 16, 2017, 08:06:43 PM

* Search


* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Board Stats

  • stats Total Members: 48503
  • stats Total Posts: 27304
  • stats Total Topics: 6595
  • stats Total Categories: 6
  • stats Total Boards: 31
  • stats Most Online: 626

Author Topic: c language  (Read 1195 times)

Description:
April 03, 2013, 06:41:21 AM
  • Registered User
  • *
  • Posts: 14
    • View Profile
Advertisement
C is a medium level language  and it was first developed for unix operating system  it is casesensitive language mean the meaning of 'A' is different and ' a' is different....
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »


April 03, 2013, 06:50:14 AM
Reply #1
  • Registered User
  • *
  • Posts: 14
    • View Profile
C have two translator they are known as compiler and interpretor  the first one is  check the whole set of statement and the second interpretor check the programme  line by line .:-)
>Every statement of C language end with semi colon ;
> The use of getch(); in any programe is to  hold the screen.
>printf print and scanf scan the value these are input and output fuction and the provison of header file i.e#include <stdio.h> is made in c.
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
April 03, 2013, 07:08:31 AM
Reply #2
  • Registered User
  • *
  • Posts: 14
    • View Profile
Ternaary operator=>
 the ternary operates  in C allows three way control  the syntax of ternary operator is  
var=(cond) ?exp1:exp2
where var mean variable name cond is a relational expression and exp1 and exp2 is two expression whic define variable  

>means if condition is true  then var=exp1  and if condition is false then var =exp2.
 *Example:
let a=6,b=4
x=(a>b) ? 5:8
in this because a>b  condition is true
so x=5;
thus ternary operator is  very useful in c
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
April 03, 2013, 07:25:46 AM
Reply #3
  • Registered User
  • *
  • Posts: 14
    • View Profile
Loop=Repetition of set of statement in  a programe is known as looping .
¤Following type of loop c support
¤while loop=
syntax:
while(exp)
  {
      statement
      block
}
¤Do while loop=
it starts with the reserved word do followed by the statement of the loop
¤For loop = more powerful compared to other loops  the syntax of for loop is
for(exp1;cond;exp2)
where exp1 initialize the loop index
cond decides enter or exit from the loop and
exp2 is an assignment expression
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
April 03, 2013, 07:37:12 AM
Reply #4
  • Registered User
  • *
  • Posts: 14
    • View Profile
Array-" an array is the collection of same data type"
its declaration is
data type  array name[max size]
where data _type is the type of data  
example :
int frequency [20]
float x[5]
¤array initialization:
an array is called global if it is declared at thf top
and auto if it is declared in any function
¤Array of characters in c is known as a string
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
April 03, 2013, 07:36:26 PM
Reply #5
  • Super Member
  • Senior Member
  • **
  • Posts: 257
    • View Profile
good job sanjay but better if u prepare on ur notebooks 8-)
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
manirock
ST Member of IEI
April 04, 2013, 07:54:55 AM
Reply #6
  • Registered User
  • *
  • Posts: 9
    • View Profile
HI
Can any one suggest me how to clear data structures and computer network subject and which books I have  to follow.
Any study notes and tips.
Thank u
Sailaja
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
April 08, 2013, 08:49:18 AM
Reply #7
  • Registered User
  • *
  • Posts: 1
    • View Profile
Quote from: "sanjay semwal"
Array-" an array is the collection of same data type"
its declaration is
data type  array name[max size]
where data _type is the type of data  
example :
int frequency [20]
float x[5]
¤array initialization:
an array is called global if it is declared at thf top
and auto if it is declared in any function
¤Array of characters in c is known as a string
:)
« Last Edit: January 01, 1970, 04:00:00 AM by Guest »
 

Related Topics

  Subject / Started by Replies Last post
11 Replies
1542 Views
Last post July 20, 2010, 02:48:26 PM
by ifte
1 Replies
431 Views
Last post December 02, 2010, 12:32:50 PM
by hemlata
0 Replies
321 Views
Last post December 17, 2010, 09:41:06 AM
by asishvk
0 Replies
569 Views
Last post April 09, 2011, 09:57:14 AM
by pawansoni
1 Replies
1059 Views
Last post March 01, 2012, 02:10:30 PM
by bhupsds
4 Replies
1056 Views
Last post August 09, 2013, 09:23:03 PM
by Geekygrip
0 Replies
588 Views
Last post January 13, 2013, 09:31:42 AM
by avidwan

* Search

* Subscribe to Forum

Enter your email address:

Advertisement