C Language

C Language

Follow 25,833 Followers

Ask a Question

Answered 5 hrs ago IT Courses/Programming Languages/C Language

Can someone give me an example of a bucket sort program in C language?

Hradyesh Chaturvedi

Software Developer/Trainer

void Bucket_Sort(int array[], int n){ int i, j; int count[n]; for (i = 0; i < n; i++) count[i] = 0; for (i = 0; i < n; i++) (count[array[i]])++; for (i = 0, j = 0; i < n; i++) for(; count[i]> 0; (count[i])--) array[j++] = i; } /* End of Bucket_Sort() */

Answers 1 Comments
Dislike Bookmark

Answered 5 hrs ago IT Courses/Programming Languages/C Language

Do we need to assign the length of characters to define a string?

Hradyesh Chaturvedi

Software Developer/Trainer

Not necessarily, however you can declare a character array of fixed length which can be used as a string. LIKE: char* s = "hello this is string";

Answers 1 Comments
Dislike Bookmark

Answered 18 hrs ago IT Courses/Programming Languages/C Language

How can I change the output of printf() in main() in C?

Jeevan

Trainer

can you elaborate your question

Answers 2 Comments
Dislike Bookmark

Answered 22 hrs ago IT Courses/Programming Languages/C Language

How can I write a program in two languages, like Perl and C?

Anubhav Singh

Computer Science Teacher

You can write same program in multiple languages. Like if you want to print hello world in c. Your code will look like printf()

Answers 2 Comments
Dislike Bookmark

Answered 1 day ago IT Courses/Programming Languages/C Language

Does learning embedded C help without having any knowledge about microcontrollers?

Aashutosh kumar singh

Maths Tutor

you should have some basic idea about microcontroller as their pin configuration and uses of pins .if you don't know about pin then how can you use those pins in your code.

Answers 2 Comments
Dislike Bookmark

Answered 1 day ago IT Courses/Programming Languages/C Language

How can I increase the size of a C program (.exe file)?

Mahesh C

why do you want to do this? people generally look at reducing the size of the .exe as it offers more flexibility.

Answers 2 Comments
Dislike Bookmark

Recommended for you

About UrbanPro

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

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 »
Sponsored

Find Best C Language Classes?

Find Now »
x

Ask a Question

Please enter your Question

Please select a Tag