0% found this document useful (0 votes)
86 views6 pages

25 1 19

The document provides links to code snippets and tutorials for various array and string manipulation functions in C including: 1) Functions to check if a string is a palindrome, swap elements of arrays, sum arrays, rotate bits of integers, find max/min of arrays, and convert between endian formats. 2) Other functions calculate sums of digits, merge sorted/unsorted arrays, return max element and index, swap pointers, and swap 3 digits cyclically. 3) Additional functions reverse strings through iteration and recursion, find repeated elements, count function calls and lines in a file.

Uploaded by

mahamd saied
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views6 pages

25 1 19

The document provides links to code snippets and tutorials for various array and string manipulation functions in C including: 1) Functions to check if a string is a palindrome, swap elements of arrays, sum arrays, rotate bits of integers, find max/min of arrays, and convert between endian formats. 2) Other functions calculate sums of digits, merge sorted/unsorted arrays, return max element and index, swap pointers, and swap 3 digits cyclically. 3) Additional functions reverse strings through iteration and recursion, find repeated elements, count function calls and lines in a file.

Uploaded by

mahamd saied
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

p.

17/50

.b. C function to check if string mirror or not

https://www.google.com.eg/amp/s/www.geeksforgeeks.org/c-program-check-given-string-
palindrome/amp/?espv=1

p.18/51

a. Write a C Function to swap elements of 2 arrays according to

.the smallest array in size

/http://scanftree.com/programs/c/write-a-c-program-for-swapping-of-two-arrays

 dwrt 3la(( swap elements of 2 arrays with different sizes)) 3shan msh l2ya acc. to the
:smallest array

/http://www.cplusplus.com/forum/beginner/38965

:swap using pointers

https://codeforwin.org/2017/11/c-program-to-swap-two-arrays-using-pointers.html

 p.18/51

d. Write a c code to copy the contents of 2 arrays into a third one in a zigzag order given
?that array sizes are not known

https://www.sololearn.com/Discuss/1543972/how-to-write-a-c-code-to-copy-the-contents-
of-2-arrays-into-a-third-one-in-a-zigzag-order-given-that

https://www.google.com.eg/amp/s/www.geeksforgeeks.org/convert-array-into-zig-zag-
fashion/amp/?espv=1
p.18/52

.c. Write a C function to return the sum of an array

https://www.google.com.eg/amp/s/www.geeksforgeeks.org/program-find-sum-elements-
given-array/amp/?espv=1

P.19/56

.B. C Function to rotate the 8 bits binary of the integer

https://www.geeksforgeeks.org/rotate-bits-of-an-integer

P.19/57

.J. Write a C function to get the Max and Min numbers in the array

/https://codingcompiler.com/c-program-find-maximum-minimum-numbers-array

https://www.google.com.eg/amp/s/www.geeksforgeeks.org/maximum-and-minimum-in-
an-array/amp/?espv=1

P.20/58

.I. C code to convert a variable from big to little endian

http://www.firmcodes.com/write-c-program-convert-little-endian-big-endian-integer

.L. C function to return the multiplication and sum of two variables

https://www.programmingsimplified.com/c/program/addition-subtraction-multiplication-
and-division

http://ecomputernotes.com/c-program/write-a-program-to-calculate-sum-multiplydivision-
through-function
P.21/60

C. C Function to return the prime number start from ZERO to

certain number

))Between two numbers((

http://www.trytoprogram.com/c-examples/c-program-to-display-prime-numbers

P.22/64

.G. C function to count number of ZEROS in 32-bits number

https://codeforwin.org/2016/01/c-program-to-count-number-of-ones-and-zeros-in-binary-
number.html

https://stackoverflow.com/questions/4244274/how-do-i-count-the-number-of-zero-bits-in-
an-integer

P.23/66

.F. How to count the size of the array if it is unknown

https://stackoverflow.com/questions/34162369/count-elements-of-an-unknown-type-array

P.23/67

*F. C Function to multiply two integers with using

https://www.quora.com/How-do-I-write-a-C-program-to-calculate-the-multiplication-of-
two-numbers

P.23/68

*A. Write a C function to draw a triangle using

Using grahics function( drawpoly)

https://www.geeksforgeeks.org/drawpoly-function-c/amp
P.24/69 >--

F. Write C function to print the maximum numbers of zeros

.Between two one's in binary of integer number

https://www.geeksforgeeks.org/maximum-0s-two-immediate-1s-binary-
representation/amp

p.24/70

.D. C code to print the binary of integer number

https://stackoverflow.com/questions/5488377/converting-an-integer-to-binary-in-c

P.24/72

.E.C function to print a prime numbers in a certain range

https://www.programming9.com/programs/c-programs/7-c-program-to-print-prime-
numbers-in-a-given-range

p.25/73

D.Write a C function that return the sum of the digits of certain

.Number

https://www.geeksforgeeks.org/program-for-sum-the-digits-of-a-given-number/amp

P.25/74

.C. C function to merge two arrays in the third array

))Sorted arrays ((

https://www.geeksforgeeks.org/merge-two-sorted-arrays

))Unsorted arrays ((

https://www.geeksforgeeks.org/merging-two-unsorted-arrays-sorted-order/amp

/
P.25/75

.I. C function to return the maximum number in array and its index

https://www.programmingsimplified.com/c/source-code/c-program-find-maximum-
element-in-array

p.26/75

.K. C function two swap two pointers

https://www.programmingsimplified.com/c-program-swap-two-numbers

P.26/76

F. Write C function to swap 3 digits cyclic. For example, 235 will be 352

https://www.programiz.com/c-programming/examples/swapping-cyclic-order

P.28/82

.C. Write a c function to reverse a string

https://www.programmingsimplified.com/c-program-reverse-string

P.28/84

D. Write function to reverse string using iteration and recursion

https://www.geeksforgeeks.org/program-reverse-string-iterative-recursive/amp

E. Write function to find repeated number in unsorted array of size 101

.elements in optimized way

https://www.geeksforgeeks.org/find-duplicates-in-on-time-and-constant-extra-space/amp

p.28/85

.B. C function to count the number of calls of this functions

https://stackoverflow.com/questions/38467812/counting-the-number-of-function-calls-in-
an-executable

C Program to count number of lines in a file

https://www.geeksforgeeks.org/c-program-count-number-lines-file/amp
/

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy