answersLogoWhite

0

📱

C Programming

Questions related to the C Computer Programming Language. This ranges all the way from K&R to the most recent ANSI incarnations. C has become one of the most popular languages today, and has been used to write all sorts of things for nearly all of the modern operating systems and applications. It it a good compromise between speed, power, and complexity.

9,649 Questions

How divide and conqure approach is used in merge sort?

The data to be sorted is broken into smaller and smaller chunks, then each individual chunk is sorted, then the chunks are merged together and sorted

What is meant by left skewed binary tree?

a binary tree with only left sub trees is called as left skewed binary tree

Show calculations on how to convert binary to hexadecimal?

Quick reference chart for converting Hexidecimal to Binary numbers: Hex Binary 0.... 0000 1.... 0001 2.... 0010 3.... 0011 4.... 0100 5.... 0101 6.... 0110 7.... 0111 8.... 1000 9.... 1001 A.... 1010 B.... 1011 C.... 1100 D.... 1101 E.... 1110 F.... 1111

What is string printing?

where you take the a piece of sting dip it in the paint and put in a white piece of paper

What does the Calendar class provide in java?

It depends on which specific class of Calendar you are referring to. Different IDEs provide different implementations. Consult your IDE's documentation for more specific information.

In general, you can expect to construct a calendar with a date in a variety of formats and return the individual year, month, day, as well as perform date calculations such as adding weeks and days to a date, or determining the name of a particular date (Sunday, Monday, etc), or working out how many days there are between two dates. Calendars may also support hours, minutes and seconds, fully-encapsulating all the things you might expect to do with dates and times.

Some implementations provide the back-end functionality of a more graphical date-picker, allowing you to select a particular date from a drop down calendar month, while others can be completely abstract, expecting you to derive your own classes to leverage the underlying functionality in any way you see fit.

How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.

What is a scatter file in c or c plus plus programming?

Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.

What is Peterson number in C?

Peterson Number:

145 = 1! + 4! + 5!

number=sum of (factorials of digits)

What is the edge of java over other object oriented programming language?

I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:

  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.


I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:
  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.


I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:
  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.


I am not sure Java is the best language; different languages have different advantages and disadvantages. However, here are some of Java's advantages; some of these advantages are shared by other languages, too:
  • Good OOP implementation.
  • Works on multiple platforms, i.e., operating systems.
  • Built-in support for Unicode, this means you can easily work with different languages, even those that don't use a Latin alphabet.
  • Built-in multithreading.
  • Memory management is automatic.
  • The compiler does quite an effort to catch lots of errors during the compilation.

What is the function of symboland in C programming?

The symbol and (ampersand, &) in C and C++ programming is the bitwise inclusive or operator. If there are two ampersands (&&) it is a relational inclusive or operator. As a unary operator, it means to take the address of something. In C++, it can also be overridden in a class method to mean nearly anything else.

How do you write classes and objects for hospital management software using objective c or c plus plus?

You declare a class as follows:

class MyClass

{

//some stuff here...

}

You create an object as follows:

MyClass object;

This is how you create classes and objects in C++.

What kind of Loop pedal does Liam Finn use?

Contrary to Wikipedia stating it's a Line 6 JM4 Looper, Liam actually uses a Line 6 DL4 Delay. Evidence: http://www.flickr.com/photos/wamcroundtable/5877120578/in/photostream/

Can you declare printf for integer variable?

printf is declared in stdio.h

Format specifier for an integer value is %d.