C Language

C Language

+ Follow 25,069 Followers

C Language Lessons

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

Vijay Kumar | 11 hrs ago

1 0
0
Static and dynamic libraries
A library is a package of code that is meant to be reused by many programs. A static library (also known as an archive) consists of routines that are compiled and linked directly into your program. When...

Vijay Kumar | 11 hrs ago

1 0
0

Trending Discussions

P

Show previous answers

Srikanth K | 4 hrs ago

The output would be as follows: Hello5 Reason: 'printf( )' not only prints a given strings, but it also returns a number which is the count of the number of characters that it has successfully printed on the screen. And the direction of execution in 'printf( )' is from Right side to Left side. So, at first the inner 'printf( )' would be executed and the string "Hello" would be printed on the screen. After printing "Hello", the inner 'printf( )' returns 5 to the outer 'printf( )'. 5 is nothing but the number of characters ("Hello") printed on the screen. And this 5 would be printed next to the string "Hello" by the outer 'printf( )'. Hope you understand. You are welcome to shoot more queries.

Amitava Majumder | 4 hrs ago

output will be Hello5 Inner printf prints Hello and outer printf gives length of string i.e. 5

P

Show previous answers

Srikanth K | 4 hrs ago

:) Good one. It checks my eye sight. This piece of code would result in an error: "undefined symbol Y". Note: 'scanf( )' not only scans and loads the values entered by users into variables, but it also returns a number which is the count of the number of variables that are successfully scanned by itself. So, in this example if the upper case 'Y' in 'scanf( )' is replaced with lower case 'y', the scanf( ) would return 2 on successfully scanning the input values (say 10 and 20) to memory.

Amitava Majumder | 4 hrs ago

answer will be 2.because scanf is a library function which will return how many arguments it processes.

P

How to use database in programming in 'c' and also tell me name of database for programming in 'c'?

0 2
S

Sravani Samanta | 07 Jan

BMN.

Ganesh Swamypillai | 29 Mar

You can use SQLite database. It provides C/C++ interface too. Please follow the example program as attached to this post. Could not copy the code because the input does not allow special characters. This program does the following:- -- It takes argument - which is a SQL statement like: create table or insert into table etc -- It opens a connection to database -- It executes the SQL statement -- It closes the connection to database -- There are helper functions which free up memory, as shown above.

Show previous answers

S

Sneha | 26/12/2016

Rs. 500/- per hour.

Abhay Baldawa | 28/12/2016

Mr Mayur, I will suggest to lookout market standard And also your experience that you are going to share with students. In fact it's also vary from student to student paying capacity.

Show previous answers

Jyoti Yadav | 29/11/2016

The easiest to know understand would be syntax in any programming language is just like grammar in any language (hindi,english etc) that we speak. So, if you don't follow the set of rules for a programming language it would lead to wrong syntax. example in C: int x; //correct itn x; // incorrect

Madhavendra Dutt | 17 May

A syntax error is an error in the syntax of a sequence of characters or tokens written in a programming language.

Thousands of experts Tutors, Trainers & other Professionals are available to answer your questions

Ask a Pro

Recommended for you

Have a Question?

Thousands of expert tutors are available to answer your question

Looking for C Language Classes?

Find best C Language Classes in your locality on UrbanPro.

FIND NOW

Do you offer C Language Classes?

Create Free Profile Now »

Top Contributors

Umasankar

50 Answers

Vinod

46 Answers

Sg

44 Answers

Dishaapro

44 Answers

Harish

44 Answers

Maqubool

32 Answers

Algorithm Class

25 Answers

Chetan

25 Answers

Rahul P

22 Answers

Sponsored

About UrbanPro

UrbanPro.com helps you to connect with the best C Language Classes in India. Post Your Requirement today and get connected.

Find Best C Language Classes?

Find Now »