C

C

Need help writing a program to find GCD for two input numbers please if you can use this example

GCD (12,15)?

Thanks so much!!

  • 1171 views
  • 6 answers
  • 0 votes

Turbo C is a programming language which runs on a Disk Operating System (DOS) which was introduced during the 1980s. This language uses only text in programming that is why it was soon superseded by languages which interacts with graphics. The fact that Turbo C is losing its compatibility with the current Operating System such as Windows 7 and still moving forward, it is still being taught in colleges, universities, and institutions. 

What makes it relevant to teach such language which is now considered as obsolete in programming world?

  • 1395 views
  • 2 answers
  • 0 votes

How can I store a character string in a block of memory space which is created by malloc and then modify the same to store a large string? Can it remain the same while storing the original contents of the buffer even after modifying the original size?

  • 983 views
  • 2 answers
  • 1 votes

Hi All,

Which are the frequently asked questions related to C programming?

I am preparing for an interview and have come across this site and decided to ask you experts some questions: what are the questions asked and please give me the top 10 Q & A's.

Thank you all.

  • 1021 views
  • 2 answers
  • 0 votes

Dear friends,

Here is the C source code :

void travpost(node *root) {
node *p=root, *q=NULL;
stk.top=-1;
do {

while(p!=NULL)) {
push(P);
p=p->left;

}

  • 909 views
  • 2 answers
  • 0 votes

Hello,

I have been frequently facing the following problem while programming in "C": the error message "Unable to open include file." was entered at the time of compiling the program.

I checked the library of files, they are stored in my include folder yet the error message has entered while compiling; why? I would be grateful if anybody solves this.

Problem in C-the error message "Unable to open include file

Message

Compiling D:MYDUMP~1TCMYPROGRA.C:

Error D:MYDUMP~1TCMYPROGRA.C 2: Unable to open include file 'STDIO.H'

  • 3029 views
  • 3 answers
  • 0 votes

I know "calloc" and "malloc" are the concepts related to dynamic memory allocation, but I am not clear with what is the exact difference between the two.

I need to use dynamic memory allocation in my program handling garbage collection.

Can you tell me which one should be used in which case and what are the pros/cons of both?

 

  • 1915 views
  • 2 answers
  • 0 votes

Hi All,

How can I run a C program in full screen using windows 7 environment on Turbo C compiler? Kindly give precise and clear answers.

Thank you.

  • 1361 views
  • 3 answers
  • 0 votes

Problem Statement: 
Printing Electricity Bill Detailed Description

Write a C++ program in which you have to:

  1. Create a text file “Electricity_Bill”.
  2. Write the following data in it:

Electricity Consumer Bill:

Reference No Tariff Load Old A/C No
123456789123456 2 1 123456789123456

Name and Address

XYZ Lahore Pakistan

  • 3950 views
  • 1 answers
  • 1 votes

If a disk is divided into four partitions and there are four logical drives present in the computer and every partition has been assigned one logical drive, write the steps involved in calculating the LBA address of the third partition table.

  • 866 views
  • 1 answers
  • 0 votes

Latest Articles

How To Choose The Right Linux VPS For Your Needs

Choosing the right Linux virtual private server (VPS) is a critical decision that can greatly impact your online projects, whether you’re running a website, hosting applications, or setting up a development environment. With various...

Benefits Of Storing And Sharing Documents In The Cloud

Have you ever wished you could access your important documents anytime, anywhere? With cloud document storage, that wish becomes a reality. In today’s fast-paced world, secure and accessible document management is more essential than...

From Lost To Found: Restore Your Data On Windows 11

Are you worried about data you lost during some operation on your Windows 11? Don’t worry; we are here to guide you on how to recover the lost data from your Windows device in...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...