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

What is a network TLA stack?

TLA = Top Level Architecture TLA stack includes, at a minimum, an Security Router and an Intrusion Detection System or Intrusion Protection System. The IDS/IPS scans traffic for known signatures of malicious traffic. In addition to these devices, a TLA stack may include a DNS, a reverse web proxy, and a firewall. Each of these devices provides a layer of security to the installation it is protecting. -Ben M. aka The man

Where do you get a replacement key for a stack on safe?

on th back of the safe there should be a serial number or a key number, just go back to the store with it or get the form from their site and they should be able to send you a new key. unfortunately it takes a long time to get the key.

Is body swap possible?

I will answer that with the best answer.

No

What are the real world applications of breadth first search and depth first search?

It is help to:

  • find cities connected with roads.
  • modeling air traffic controller system.

How do you write a program in c to swap two values by using functions?

#include using namespace std; void swap(int &a, int &b); int main() { int x=5,y=3; cout

What does C S stand for?

CSC is a term used by the Foundation For Shamanic Studies [FSS] in Mill Valley, CA. It stands for Certified Shamanic Counselor. The FSS was founded by Michael Harner who directs its activities along with his wife Sandra Harner. Both are experts on core shamanic healing practice. The certification can be attained after taking the week long -- with extended applied and evaluated practice as in an internship -- shamanic counseling course put on by the FSS. See www.shamanism.org See also www.shastashaman.com

What does looping mean?

The definition varies based upon the type of loop being talked about.

Generally a loop is anything that starts and ends at the same point in a circular or elliptical shape. For example a ring on your finger is a loop. The hoop on a Basketball court has a loop.

A loop also generally implies anything that repeats itself. For example when a traffic light goes from green to yellow to red, then back to green, that is a looping cycle.

Loops are also a common fixture in computer programming language. They are used to repeat a given series of commands until a certain condition(s) are met.

What is difference between getchar and getch?

Both getch() and getche() are used to read single character there is very little difference

-getch() doesn't display output to screen if used without lvalue

-getche() display output to screen even if used without lvalue

following example will clear this.....

1.

main()

{

getch();

}

2.

main()

{

getche();

}

after running above programs...............

when you press any key, you'll exit from output screen

verify the output by pressing alt+F5

1. will not show anything

2.will show the key you were pressed......

hope you get it.............

__________________________________________________________________

getch() - get character from screen without echo and compiler didn't wait for another key.

getche() - get character from screen and compiler didn't wait for another key

getchar() - get character from screen and compiler wait for another key and moreover it returns a integer value i.e. the ASCII(American Standard Code for Information exchange) which we can use where ever we want.for example:- mostly in encryption.

In this the major concept is of echoing and it is nothing but when we enter anything through keyboard and if it is coming back on the screen (even if to show that what we are entering ) that's called echoing.

and this is what makes difference in getch() and getche()

Write a program to enter a character and it will tell the character etered?

{

char a;

...

cout << "Enter a character: ";

cin >> a;

cout << "You entered: " << a;

...

}

Sort array in ascending descending order using function in c?

//C program for Arranging 5 Numbers in Ascending Order

#include<stdio.h>

#include<conio.h>

void main()

{

int a[5],i,j,t;

clrscr();

printf("Enter 5 nos.\n\n");

for (i=0;i<5;i++)

scanf("%d",&a[i]);

for (i=0;i<5;i++)

{

for(j=i+1;j<5;j++)

{

if(a[i]>a[j])

{

t=a[i];

a[i]=a[j];

a[j]=t;

}

}

}

printf("Ascending Order is:");

for(j=0;j<5;j++)

printf("\n%d",a[j]);

getch();

}

What is Variable declaration and variable initialization?

...are important things in programming.

Example:

extern int variable; /* declaration */

int variable= 8; /* definition with initialization */

What is the difference between if and while loop?

Easy: if-else is not a loop; while, for and do-while are loops.

if-else just run once, but do-while run many times.

What features of Delphi's classes is included in C?

None, as C is just a programming language, nothing more; but the standard C-libraries contain many useful functions, see the documentation.

Note: If you are interested in programming Windows, msdn.com is your friend.

Write a function for concatnating the string s1 s2 and storing the result in string s3?

char *strmerge (char *s3, const char *s1, const char *s2)

{

strcpy (s3, s1);

strcat (s3, s2);

return s3;

}

What is meant by delimiter?

A delimiter is a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data ...

delimiters are used in java to split one large string into smaller ones.

ex: "val1;val2;val3"

the above string can be broken down into 3 small strings val1, val2 and val3. here semicolon is the delimiter

How do you stack a euchre deck?

it's next to impossible. just play for fun. your only playing with half the deck if that.

What is case?

CASE in an abbriviation for Computer-aided software engineering. CASE is the scientific application of a set of tools and methods to a software system which results in high-quality, defect-free, and maintainable software products. It also refers to methods for the development of information systems together with automated tools that can be used in the software development process.

Find whether a number is prime or not using c?

It should not be even (except for 2), and must not be dividable with any odd number between 3 and its square-root.

How can objects be passed as a function parameters in c?

Possible ways:

void byvalue (MyClass param);

void byptr (MyClass *paramptr);

void byref (MyClass &paramref);

MyClass c;

byvalue (c);

byptr (&c);

byref (c);

Who is responsible for creating first generation programming language?

They must be punished thoroughly.

The title 'first programmer' refers to Ada Augusta Lovelace.