Signup as a Tutor

As a tutor you can connect with more than a million students and grow your network.

C Language

C Language

Trending Questions and Lessons

Follow 55,457 Followers

Ask a Question

Feed

All

All

Lessons

Discussion

Answered on 30/11/2017 IT Courses/Programming Languages/C Language

Which is more important for interviews, C or Java?

Signitive Technologies

As a fresher, most of the companies will focus on C and Java. Make basic concepts like functions, loops, abstraction, inheritance, classes, objects and pointers enough strong. Learn them by understanding how and why there is need of these functionalities
Answers 3 Comments
Dislike Bookmark

Answered on 30 Jan IT Courses/Programming Languages/C Language

Why is C so popular in cybersecurity?

Ramya

Primary Teacher

Some fields of cyber security it is certainly popular. When it comes to finding exploits and bugs, it makes sense to use the language that dominates the field of creating low-level programs. For decades now microchips have been optimized towards C compatibility and C compilers towards microchip compatibility. It... read more

Some fields of cyber security it is certainly popular. When it comes to finding exploits and bugs, it makes sense to use the language that dominates the field of creating low-level programs. For decades now microchips have been optimized towards C compatibility and C compilers towards microchip compatibility.

It makes sense to use the language the program was written in to find weaknesses. Furthermore, most exploits rely on fairly low-level stuff like memory addresses, use-after-free, buffer overflows etc. Many other languages simply do not offer the capacity to talk this close to the hardware.

However finding and plugging exploits is Χ only a small part of cybersecurity. Other fields will have other languages that are popular, or they might not even have one. Social engineering, technically also part of cybersecurity, uses the human language to gain access to systems. Some firewalls use plain text files or whatever niche language their manufacturers created.

read less
Answers 3 Comments
Dislike Bookmark

Answered on 08 Jan IT Courses/Programming Languages/C Language

Is possible to return a string from the main() function instead of int (C/C++)?

Aman Mishra

Teacher

No, main() can only return int. The reason being it is the way C/C++ is built. If you are still not convinced then the more detailed answer would be that because the result value of main() is passed to the exit() system call on UNIX systems. The exit() system call takes a single integer argument which... read more

No, main() can only return int.  The reason being it is the way C/C++ is built. If you are still not convinced then the more detailed answer would be that because the result value of main() is passed to the exit() system call on UNIX systems.

The exit() system call takes a single integer argument which is stored in the PID info record in the kernel, and can then be retrieved by the calling process when they call one of the wait() family of system calls.

This method of passing a return code through the PID info has been around since the earliest days of UNIX, which was written in C.

In UNIX, processes typically return a success/failure code in this space, so that the calling process. Making the return code from main() the same value is just a simple shortcut.

But then I know you didn't get anything, that is why I wrote in the simplest way in the First few line of the answer.

Do not forget to like my answer in case I solved your doubt. "Like" keeps me motivated.

read less
Answers 1 Comments
Dislike Bookmark

Looking for C Language Classes

Find best C Language Classes in your locality on UrbanPro.

FIND NOW

Answered on 23 Jan IT Courses/Programming Languages/C Language

What are the different types of storage classes in C?

Rimpal Kaur B.

Basic of computers in easy

There are four storage classes in C those are automatic, register, static & external.
Answers 1 Comments 1
Dislike Bookmark

Answered on 11 Jan IT Courses/Programming Languages/C Language

What is the return statement and void type in C language?

H J ONLINE

BEST ONLINE LEARNING

return statement used to return result of a function. void is used when function doesnot return any result. return also used to return from function execution .??
Answers 2 Comments
Dislike Bookmark

Answered on 09 Jan IT Courses/Programming Languages/C Language

What is the return type of a function having the syntax "int * fun()" in C?

Aman Mishra

Teacher

Pointer to integer return type.
Answers 1 Comments
Dislike Bookmark

Looking for C Language Classes

Find best C Language Classes in your locality on UrbanPro.

FIND NOW

Answered on 09/12/2017 IT Courses/Programming Languages/C Language

What is the use of '%d' in a scanf statement?

Rahul Katke

IT Professional

It is the format for inputting integer through scanf()
Answers 2 Comments
Dislike Bookmark

Answered on 11 Jan IT Courses/Programming Languages/C Language

Which built-in library function can be used to re-size the allocated dynamic memory?

Shwetha

Realloc() function is used to resize the memory that is already allocated by malloc() or calling().
Answers 2 Comments
Dislike Bookmark

Answered on 20 Jan IT Courses/Programming Languages/C Language

Why does given code produces run time error?

Rimpal Kaur B.

Basic of computers in easy

Sometimes we don't use getch().
Answers 1 Comments
Dislike Bookmark

Looking for C Language Classes

Find best C Language Classes in your locality on UrbanPro.

FIND NOW

Answered on 10/05/2015 IT Courses/Programming Languages/C Language

Why we use 'include stdio.h'?

Jiten Amin

Computer Engineering / Diploma Tutor

STDIO.H is a file which contain declaration of many functions and Macros which required to get input from input devices and show output on output screen of C Program. It is not compulsory to include "stdio.h" as we can provide input to c program using any other program like DOS and can store output... read more
STDIO.H is a file which contain declaration of many functions and Macros which required to get input from input devices and show output on output screen of C Program. It is not compulsory to include "stdio.h" as we can provide input to c program using any other program like DOS and can store output to any FILE. Which we can see later. read less
Answers 52 Comments
Dislike Bookmark

About UrbanPro

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

Overview

Questions 775

Lessons 73

Total Shares  

Top Contributors

Connect with Expert Tutors & Institutes for C Language

x

Ask a Question

Please enter your Question

Please select a Tag